Theory:

Summing up two consecutive natural numbers results in a square:
 
Consider any odd natural number, say 5. Its square is 52 \(=\) 25

To find two consecutive natural numbers which is equal to the odd square, we can use the below formula.
 
a2=a212+a2+12

Now let's take \(a =\) 5.
 
Substitute the \(a\) value in the formula.
 
52=5212+52+1225=242+26225=12+1325=25
 
Therefore the two consecutive natural numbers are 13 and 12, which is equal to the square of odd number 25.
 
Let's see another example.
 
The odd square number is 17. Square of 17 is 289.
 
Therefore the we can substitute \(a =\)17 in the formula.
 
172=17212+172+12289=2882+2902289=144+145289=289
 
Important!
Note: If the value of \(a\) is an even number, then the two natural numbers will be decimals.
From the above examples, we can see that each of their squares can be written as the sum of two consecutive natural numbers.
"The square of an odd number can be written as the sum of two consecutive natural numbers".