Consider the given number.
39
We know that
(a−b)2=a2+b2−2ab
Therefore,
(40−1)2=(40)2+12−2×40×1
(39)2=1600+1−80
(39)2=1521
Hence, this is the answer.
How to find the square of 31 without actual multiplication?