All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Lucky seven (Posted on 2010-02-05) Difficulty: 4 of 5
A number N consisting of a string of sevens i.e. N=77777...7777, is divisible by 199. Find the last 4 digits of the quotient. No programming, please.

See The Solution Submitted by Ady TZIDON    
Rating: 4.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re: Such a number exists. -- program for verification only | Comment 3 of 6 |
(In reply to Such a number exists. by Jer)

Indeed there are 99 7's in N, shown below, followed by the quotient and the common log of N verifying its 99-digit length.

list
    5   N=7
   10   while N@199>0
   20       N=N*10+7
   30   wend
   40   print N
   50   print N//199
   60   print log(N)/log(10)
OK
run
 7777777777777777777777777777777777777777777777777777777777777777777777777777777
77777777777777777777
 3908431044109436069235064209938581797878280290340591848129536571747627024008933
556672250139586823
 98.8908555305749319713
OK

  Posted by Charlie on 2010-02-05 16:47:53
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (3)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information