The user-friendly version of this content is available here.
The following content is copyright (c) 2009-2013 by Goods of the Mind, LLC.
This essential trains for: SAT-I, GMAT, AMC-8, AMC-10.
Last digit of perfect squares
If a positive integer asdf3 ends in 3 what will its square end in?
Write the number in expanded form:
and square it:
Notice how, due to the final zero, neither the square of the larger part, nor the cross-term contribute to the last digit, since they both end in zero by construction.
Therefore, the last digit is given by the last digit of the square of the last digit.
For all the digits a positive integer can end with, the last digit of the square of the number is:
|Last digit of n||Last digit of n2|
We see that perfect squares can never end in 2, 3, 7 or 8.
Last digit of perfect cubes
Similarly, the last digit of perfect cubes is given by the table:
|Last digit of n||Last digit of n3|
We see that perfect cubes may end in any digit.
Not so with fourth powers which have very few options for their last digit:
|Last digit of n||Last digit of n4|
The successive positive integer powers of a number end digit forms repeating sequences as follows:
|n ends in||n2||n3||n4||n5|
Example: What is the last digit of the sum:
First, we notice that the second term always ends in 6 regardless of the power.
Then we see that the powers of numbers that end in 7 end in digits that repeat every 4 powers. We need to find the remainder of dividing 401 by 4:
In the sequence of last digits, we need to position ourselves in the first position after a group of 4. Therefore, the last digit for the first term is 7 and the overall last digit is 3: