what is the ones digit of 9^40?
what is the ones digit of 9^40 ?
940mod10=(92⏟=1mod10)20mod10|92mod10= 81mod10= 1=120mod10|120=1=1mod10
Note the cycle
9^1 = 9
9^2 = 81
9^3 = 729
9^4 = 6561 and this pattern repeats for every "block" of 4 powers
Note that 40 is evenly divisible by 4, so 9^40 has a "ones" digit that completes this cycle. So....9^40 ends in a "1"