check whether Hair N can end with digit 0 for any natural number N
Attachments:
Answers
Answered by
1
soln:
( 8 )^1 = 8
( 8 )^2 = 64
( 8 )^3 = 512
( 8 )^4 = 4096
( 8 )^5 = 32768
( 8 )^6 = 262144
.
.
.
( 8 )^9 = 134217728
By above explanation we can conclude that by 5th power the last digit is started repeating.(5 --> 1, 6 ---> 2, 7 ---> 3, 8 ---> 4, 9 ----> 1 ...)
so, It never ends with digit 0 (Zero)
Hope it helps!
( 8 )^1 = 8
( 8 )^2 = 64
( 8 )^3 = 512
( 8 )^4 = 4096
( 8 )^5 = 32768
( 8 )^6 = 262144
.
.
.
( 8 )^9 = 134217728
By above explanation we can conclude that by 5th power the last digit is started repeating.(5 --> 1, 6 ---> 2, 7 ---> 3, 8 ---> 4, 9 ----> 1 ...)
so, It never ends with digit 0 (Zero)
Hope it helps!
Similar questions