hb05sv
Does any one have a list of possible last digits of squares of numbers.
e.g 33^2
123^2
have the same last digit 9
I know there is a shortcut to such questions, I went through it in some. Cant seem to remember where though.
Thanks
We take the unit digit of the number in this case 3 so
3^2 = 9 hence unit digit is 9.
In case number is something like this 123^234 then reduce it to 3^234,
3^1 = 3 unit digit is 3
3^2 = 9 unit digit is 9
3^3 =27 unit digit is 7
3^4 = 81 unit digit is 1
3^5 = 243 unit digit is 3
...
hence cyclicity is 4, after every power to 4 unit digit repeats hence dividing 234 by 4 we get 2 as remainder hence unit digit of 123^234 will be 9.