Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Other Topics > Science, Math, and Philosophy
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 08-12-2007, 02:17 PM
molotom molotom is offline
Senior Member
 
Join Date: Mar 2007
Posts: 160
Default Re: Fun with Exponents

Not exactly elegant, but here goes:

Lemma:
9^10 = 1 mod 100
9^100 = 1 mod 1000
9^1000 = 1 mod 10000
etc

Let f(n) = 9^9^...^9 containing n nines.

f(1) = 9 = -1 mod 10
f(n+1) = f(1)^9 = (-1)^9 = -1 mod 10
So f(n) = -1 mod 10 , for all n>1. Therefore the last digit is 9.

Now for n>2:
f(n) = 9^f(n-1) = 9^(10a + b) where b = f(n-1) mod 10
But 9^10 = 1 mod 100 (by lemma), and f(n-1) = -1 mod 10, therefore:
f(n) = 9^b = 9^(-1) = -11 = 89 mod 100

Similarly
f(n) = 9^89 = 289 mod 1000

f(n) = 9^289 = 5289 mod 10000

f(n) = 9^5289 = 45289 mod 100000

Note that this holds for all n > 5
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:50 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.