Serving the Quantitative Finance Community

 
User avatar
nocturne2
Topic Author
Posts: 0
Joined: January 11th, 2006, 5:45 pm

Fun with number digits

April 11th, 2006, 1:28 pm

Find a natural number n no greater than 10 millions so that the first 4 digits of its millionth power (n^1,000,000) are different.
 
User avatar
aym
Posts: 6
Joined: July 28th, 2005, 5:03 pm

Fun with number digits

April 11th, 2006, 3:19 pm

12^1000000 = 1762...
 
User avatar
nocturne2
Topic Author
Posts: 0
Joined: January 11th, 2006, 5:45 pm

Fun with number digits

April 11th, 2006, 3:46 pm

How about doing it without a calculator or paper+pencil?
 
User avatar
vixen
Posts: 0
Joined: April 5th, 2006, 1:43 pm

Fun with number digits

April 12th, 2006, 12:08 pm

First four digits are 1, 2, 7, 8 (though not necessarily in that order) Nice problem!
 
User avatar
vaibcal2004
Posts: 0
Joined: March 2nd, 2006, 5:52 am

Fun with number digits

April 18th, 2006, 4:09 pm

Easy to do on excel but cant do it otherwise - am I missing a trick? and how are the first 4 digits 1,2,7,8 (in whatever order) - 22^ 1m = 4795...
 
User avatar
wannabequantie
Posts: 0
Joined: October 30th, 2004, 12:13 pm

Fun with number digits

April 18th, 2006, 8:37 pm

Heres my two bits. 1 million + 1. Use the binomial expansion to show that it is the right answer. I'm sorry i haven't worked out if it really works out but definitely something along those lines should work out. Its a bit late in the evening and i'm feeling too lazy to work it out right now.
 
User avatar
pk14
Posts: 0
Joined: February 15th, 2006, 12:43 am

Fun with number digits

April 19th, 2006, 2:56 am

I guess if I take 1 million+1, it does the job. Let me prove this. To make life easier, let us denote 1,000,000 by m. Then what I am going to prove is,the first four digits of (1+m)^m are different.We know, for any m, we have,(1+1/m)^m < e < (1+1/m)^(1+m).Thus, for us,e - (1+1/m)^m < (1+1/m)^(1+m) - (1+1/m)^m = (1+1/m)^m times (1/m) < e times (1/m) < 1/ 100000 (Since we have m = 1 million)Now, m^m (e - (1+1/m)^m) < m^m times e - (1+m)^m < m^m times (1/100000)We know e=2.7182...Hence, the first four digists of (1+m)^m will be 2718 because the error is at least 5 digits away.So 1+m (i.e. 1000001) does the job.I hope I didn't make too many errors here. And I am sorry I am not familar with typing formulas with Latex.