If your sum contains only sequential digits (12345), when you press "=" Tom Nook will make a surprise appearance. If your sum contains all of the same digit (77777) then the effect will be the same, ...
Different things will happen depending on the result of your equation. Your birth month and day (Day and month for Europe): Princess appears + few fireworks Numbers are in order e.g. 123, 987654321, ...