wu :: forums
« wu :: forums - Last 1000 digits »

Welcome, Guest. Please Login or Register.
Feb 17th, 2025, 11:27pm

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   medium
(Moderators: towr, Grimbal, ThudnBlunder, Eigenray, SMQ, william wu, Icarus)
   Last 1000 digits
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Last 1000 digits  (Read 735 times)
gkwal
Newbie
*





   


Posts: 25
Last 1000 digits  
« on: May 3rd, 2007, 11:29am »
Quote Quote Modify 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
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: Last 1000 digits  
« Reply #1 on: May 3rd, 2007, 1:55pm »
Quote Quote Modify 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 Smiley
IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
Aryabhatta
Uberpuzzler
*****






   


Gender: male
Posts: 1321
Re: Last 1000 digits  
« Reply #2 on: May 3rd, 2007, 5:19pm »
Quote Quote Modify 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 Smiley

 
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
*****






   


Gender: male
Posts: 1948
Re: Last 1000 digits  
« Reply #3 on: May 3rd, 2007, 5:55pm »
Quote Quote Modify Modify

This problem was posted before here.
IP Logged
rmsgrey
Uberpuzzler
*****





134688278 134688278   rmsgrey   rmsgrey


Gender: male
Posts: 2874
Re: Last 1000 digits  
« Reply #4 on: May 4th, 2007, 4:12am »
Quote Quote Modify 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
*****




The dewdrop slides into the shining Sea

   


Gender: male
Posts: 4489
Re: Last 1000 digits  
« Reply #5 on: May 4th, 2007, 4:40am »
Quote Quote Modify 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
*****





134688278 134688278   rmsgrey   rmsgrey


Gender: male
Posts: 2874
Re: Last 1000 digits  
« Reply #6 on: May 5th, 2007, 6:01am »
Quote Quote Modify 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
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board