Author |
Topic: Last 1000 digits (Read 735 times) |
|
gkwal
Newbie
![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/star.gif)
![](http://www.ocf.berkeley.edu/~wwu/YaBBImages/avatars/blank.gif)
Posts: 25
|
![](http://www.ocf.berkeley.edu/~wwu/YaBBImages/xx.gif) |
Last 1000 digits
« on: May 3rd, 2007, 11:29am » |
Quote Modify
|
Find the last 1000 digits of the number N, where N = 1 + 50 + 50^2 + 50^3 +..........+ 50^999
|
|
IP Logged |
|
|
|
towr
wu::riddles Moderator Uberpuzzler
![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/starmod.gif) ![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/starmod.gif) ![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/starmod.gif) ![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/starmod.gif) ![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/starmod.gif)
![](http://www.ocf.berkeley.edu/~wwu/YaBBImages/avatars/blank.gif) Some people are average, some are just mean.
Gender: ![male](http://www.ocf.berkeley.edu/~wwu/YaBBImages/male.gif)
Posts: 13730
|
![](http://www.ocf.berkeley.edu/~wwu/YaBBImages/xx.gif) |
Re: Last 1000 digits
« Reply #1 on: May 3rd, 2007, 1:55pm » |
Quote Modify
|
I'd have a look at (50N - N)/49 i.e. (50^1000-1)/49 That's not a final answer, I know. But it's an easier question
|
|
IP Logged |
Wikipedia, Google, Mathworld, Integer sequence DB
|
|
|
Aryabhatta
Uberpuzzler
![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/star.gif) ![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/star.gif) ![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/star.gif) ![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/star.gif) ![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/star.gif)
![](http://www.ocf.berkeley.edu/~wwu/YaBBAttachments/aryabhatta.jpg)
Gender: ![male](http://www.ocf.berkeley.edu/~wwu/YaBBImages/male.gif)
Posts: 1321
|
![](http://www.ocf.berkeley.edu/~wwu/YaBBImages/xx.gif) |
Re: Last 1000 digits
« Reply #2 on: May 3rd, 2007, 5:19pm » |
Quote Modify
|
on May 3rd, 2007, 1:55pm, towr wrote:I'd have a look at (50N - N)/49 i.e. (50^1000-1)/49 That's not a final answer, I know. But it's an easier question |
| Actually, that approach might not work. I get the answer as: 3265306122448979591836734693877551020408163265306122448979591836734693877551 Where the underline means, repeat till you hit 1000 digits. The approach used: Instead of N = 1 + 50 + 50^2 + .... + 50^999 consider N' = 1 + 50 + 50^2 + .... + 50^999 + 50^1000 + ... + 50^1007 Notice that N and N' have the same last 1000 digits. Now 49N' = (50^1008 - 1) Rewrite it as (5^1008 - 1)*10^1008 + 10^1008 - 1 Now we can show that 5^1008-1 is divisible by 49 (using the fact that 5^42 = 1 modulo 49, 42 = phi(49), where phi is euler-totient function) Thus the last 1008 digits of N' are given by (10^1008 - 1)/49 = [10^1008/49] (integral part of that) Now 1/49 is a recurring decimal with period 42 (and repeating part 020408163265306122448979591836734693877551). The rest follows.
|
« Last Edit: May 3rd, 2007, 5:38pm by Aryabhatta » |
IP Logged |
|
|
|
Eigenray
wu::riddles Moderator Uberpuzzler
![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/starmod.gif) ![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/starmod.gif) ![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/starmod.gif) ![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/starmod.gif) ![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/starmod.gif)
![](http://manetheren.bigw.org/~ray/eigenray.gif)
Gender: ![male](http://www.ocf.berkeley.edu/~wwu/YaBBImages/male.gif)
Posts: 1948
|
![](http://www.ocf.berkeley.edu/~wwu/YaBBImages/xx.gif) |
Re: Last 1000 digits
« Reply #3 on: May 3rd, 2007, 5:55pm » |
Quote Modify
|
This problem was posted before here.
|
|
IP Logged |
|
|
|
rmsgrey
Uberpuzzler
![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/star.gif) ![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/star.gif) ![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/star.gif) ![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/star.gif) ![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/star.gif)
![](http://www.ocf.berkeley.edu/~wwu/YaBBImages/avatars/blank.gif)
![rmsgrey](http://www.ocf.berkeley.edu/~wwu/YaBBImages/aim.gif)
Gender: ![male](http://www.ocf.berkeley.edu/~wwu/YaBBImages/male.gif)
Posts: 2874
|
![](http://www.ocf.berkeley.edu/~wwu/YaBBImages/xx.gif) |
Re: Last 1000 digits
« Reply #4 on: May 4th, 2007, 4:12am » |
Quote Modify
|
on May 3rd, 2007, 5:19pm, Aryabhatta wrote:I get the answer as: 3265306122448979591836734693877551020408163265306122448979591836734693877551 Where the underline means, repeat till you hit 1000 digits. |
| Also known as (using the same notation): 326530612244897959183673469387755102040816
|
|
IP Logged |
|
|
|
ThudnBlunder
wu::riddles Moderator Uberpuzzler
![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/starmod.gif) ![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/starmod.gif) ![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/starmod.gif) ![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/starmod.gif) ![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/starmod.gif)
![](http://www.ocf.berkeley.edu/~wwu/YaBBAttachments/Eamon7.gif)
The dewdrop slides into the shining Sea
Gender: ![male](http://www.ocf.berkeley.edu/~wwu/YaBBImages/male.gif)
Posts: 4489
|
![](http://www.ocf.berkeley.edu/~wwu/YaBBImages/xx.gif) |
Re: Last 1000 digits
« Reply #5 on: May 4th, 2007, 4:40am » |
Quote Modify
|
on May 4th, 2007, 4:12am, rmsgrey wrote: Also known as (using the same notation): 326530612244897959183673469387755102040816 |
| But this number seems to end with 102040816 The required number does not.
|
|
IP Logged |
THE MEEK SHALL INHERIT THE EARTH.....................................................................er, if that's all right with the rest of you.
|
|
|
rmsgrey
Uberpuzzler
![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/star.gif) ![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/star.gif) ![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/star.gif) ![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/star.gif) ![*](http://www.ocf.berkeley.edu/~wwu/YaBBImages/star.gif)
![](http://www.ocf.berkeley.edu/~wwu/YaBBImages/avatars/blank.gif)
![rmsgrey](http://www.ocf.berkeley.edu/~wwu/YaBBImages/aim.gif)
Gender: ![male](http://www.ocf.berkeley.edu/~wwu/YaBBImages/male.gif)
Posts: 2874
|
![](http://www.ocf.berkeley.edu/~wwu/YaBBImages/xx.gif) |
Re: Last 1000 digits
« Reply #6 on: May 5th, 2007, 6:01am » |
Quote Modify
|
on May 4th, 2007, 4:40am, ThudanBlunder wrote: But this number seems to end with 102040816 The required number does not. |
| That depends how you handle the truncation
|
|
IP Logged |
|
|
|
|