mandrake15 wrote:
Bunuel wrote:
LAST DIGIT OF A POWER
Determining the last digit of \((xyz)^n\):
1. Last digit of \((xyz)^n\) is the same as that of \(z^n\);
2. Determine the cyclicity number \(c\) of \(z\);
3. Find the remainder \(r\) when \(n\) divided by the cyclisity;
4. When \(r>0\), then last digit of \((xyz)^n\) is the same as that of \(z^r\) and when \(r=0\), then last digit of \((xyz)^n\) is the same as that of \(z^c\), where \(c\) is the cyclisity number.
• Integer ending with 0, 1, 5 or 6, in the integer power k>0, has the same last digit as the base.
• Integers ending with 2, 3, 7 and 8 have a cyclicity of 4.
• Integers ending with 4 (eg. \((xy4)^n\)) have a cyclisity of 2. When n is odd \((xy4)^n\) will end with 4 and when n is even \((xy4)^n\) will end with 6.
• Integers ending with 9 (eg. \((xy9)^n\)) have a cyclisity of 2. When n is odd \((xy9)^n\) will end with 9 and when n is even \((xy9)^n\) will end with 1.
Example: What is the last digit of \(127^{39}\)?
Solution: Last digit of \(127^{39}\) is the same as that of \(7^{39}\). Now we should determine the cyclisity of \(7\):
1. 7^1=7 (last digit is 7)
2. 7^2=9 (last digit is 9)
3. 7^3=3 (last digit is 3)
4. 7^4=1 (last digit is 1)
5. 7^5=7 (last digit is 7 again!)
...
So, the cyclisity of 7 is 4.
Now divide 39 (power) by 4 (cyclisity), remainder is 3.So, the last digit of \(127^{39}\) is the same as that of the last digit of \(7^{39}\), is the same as that of the last digit of \(7^3\), which is \(3\).
Congratulation and thank you very much for the post, but in the LAST DIGIT OF A POWER i have an issue, when i try to solve the last digit of (456)^35 with the process i just don't get the correct answers, with the process above gives me 6^4 which is 1296=6 and with calculator its 0, can you explain me that case?
Any integer with 6 as its units digit in any positive integer power has the units digit of 6 (integers ending with 0, 1, 5 or 6, in the integer power k>0, has the same last digit as the base.). For example, (xxx6)^(positive integer) has the units digit of 6.
The reason you get 0 as the units digit of (456)^35 is because it's a huge number and simple calculator rounds the result.
Exact result is: 1,158,162,485,059,181,044,784,824,077,056,791,483,879,723,809,565,243,305,114,019,731,744,476,935,058,125,438,332,149,170,176.
1 trigintillion 158 novemvigintillion 162 octovigintillion 485 septenvigintillion 59 sexvigintillion 181 quinvigintillion 44 quattuorvigintillion 784 trevigintillion 824 duovigintillion 77 unvigintillion 56 vigintillion 791 novemdecillion 483 octodecillion 879 septendecillion 723 sexdecillion 809 quindecillion 565 quattuordecillion 243 tredecillion 305 duodecillion 114 undecillion 19 decillion 731 nonillion 744 octillion 476 septillion 935 sextillion 58 quintillion 125 quadrillion 438 trillion 332 billion 149 million 170 thousand 176
Hope it's clear.