For example,
3 = 2^2 - 1^2
5 = 3^2 - 2^2
7 = 4^2 - 3^2
...
Is there a general formula to explain this phenomenon?
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It only takes a minute to sign up.
Sign up to join this communityFor example,
3 = 2^2 - 1^2
5 = 3^2 - 2^2
7 = 4^2 - 3^2
...
Is there a general formula to explain this phenomenon?
The difference of two general squares doesn't need to be an odd number: $16$ and $4$ are both square numbers, but there difference $16-4=12$ is not odd.
Is there a general formula to explain this phenomenon?
Yes, if the question is, why is the difference between two consecutive square numbers odd? Two consecutive square numbers are of the form $n^2, (n+1)^2$ and their difference is $(n+1)^2 - n^2 = n^2 + 2n+ 1 - n^2 = 2n+1$, and $2n+1$ is an odd number.
If you have a number $n\geq0$ then: $$(n+1)^2 - n^2 = (n^2+2n+1)-n^2 = 2n+1,$$ which makes all odd numbers (i.e. every odd number can be written as $2n+1$, with a certain value for $n$).
The difference of an odd number and an even number (or the other way around) is an odd number.