Why are the last two digits of a perfect square never both odd?

Taking the last two digits of a number is equivalent to taking the number $\bmod 100$. You can write a large number as $100a+10b+c$ where $b$ and $c$ are the last two digits and $a$ is everything else. Then $(100a+10b+c)^2=10000a^2+2000ab+200ac+100b^2+20bc+c^2$. The first four terms all have a factor $100$ and cannot contribute to the last two digits of the square. The term $20bc$ can only contribute an even number to the tens place, so cannot change the result. To have the last digit of the square odd we must have $c$ odd. We then only have to look at the squares of the odd digits to see if we can find one that squares to two odd digits. If we check the five of them, none do and we are done.


Others have commented on the trial method. Just to note that $3^2$ in base $8$ is $11_8$ which has two odd digits. This is an example to show that the observation here is not a trivial one.

But we can also note that $(2m+1)^2=8\cdot \frac {m(m+1)}2+1=8n+1$ so an odd square leaves remainder $1$ when divided by $8$.

The final odd digits of squares can be $1,5,9$ so odd squares are $10p+4r+1$ with $r=0,1,2$. $10p+4r$ must be divisible by $8$ and hence by $4$, so $p$ must be even.


In the spirit of experimentation, the last two digits of the squares of numbers obtained by adding the column header to the row header:

$$\begin {array}{c|ccc} & 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9\\ \hline 0 & 00 & 01 & 04 & 09 & 16 & 25 & 36 & 49 & 64 & 81\\ 10 & 00 & 21 & 44 & 69 & 96 & 25 & 56 & 89 & 24 & 61\\ 20 & 00 & 41 & 84 & 29 & 76 & 25 & 76 & 29 & 84 & 41\\ 30 & 00 & 61 & 24 & 89 & 56 & 25 & 96 & 69 & 44 & 21\\ 40 & 00 & 81 & 64 & 49 & 36 & 25 & 16 & 09 & 04 & 01\\ 50 & 00 & 01 & 04 & 09 & 16 & 25 & 36 & 49 & 64 & 81\\ 60 & 00 & 21 & 44 & 69 & 96 & 25 & 56 & 89 & 24 & 61\\ 70 & 00 & 41 & 84 & 29 & 76 & 25 & 76 & 29 & 84 & 41\\ 80 & 00 & 61 & 24 & 89 & 56 & 25 & 96 & 69 & 44 & 21\\ 90 & 00 & 81 & 64 & 49 & 36 & 25 & 16 & 09 & 04 & 01\\ 100 & 00 & 01 & 04 & 09 & 16 & 25 & 36 & 49 & 64 & 81\\ 110 & 00 & 21 & 44 & 69 & 96 & 25 & 56 & 89 & 24 & 61\\ 120 & 00 & 41 & 84 & 29 & 76 & 25 & 76 & 29 & 84 & 41\\ \end{array}$$

The patterns are clear, after which the search for a reason for such patterns is well given by the answer of @RossMillikan - you can see that the parity of both final digits of the square is entirely dependent on the final digit of the number that you square.