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

Home > Numbers
Searching for the minimal repunit (Posted on 2017-11-06) Difficulty: 2 of 5
What is the smallest repunit (i.e. containing a digit 1
repeated and no other digits) which is divisible by a repdigit number 3333... 333 (digit 3 repeated 100 times)?

No Solution Yet Submitted by Ady TZIDON    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution computer solution Comment 1 of 1
    5   open "minrepun.txt" for output as #2
   10   for I=1 to 100:N=N*10+1:next
   15   Dvr=3*N
   20   repeat
   30      N=N*10+1
   40   until N@Dvr=0
   50   Ns$=cutspc(str(N))
   60   print len(Ns$)
   61   print #2,len(Ns$)
   70   print #2,N:print #2,N/Dvr
   80   close #2

finds a 300-digit repunit is the smallest

 300 
 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111

1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111

111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 
 

the quotient is
3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333
6666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666667.0 

100 3's 99 6's anf a 7

  Posted by Charlie on 2017-11-06 12:38:05
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 (19)
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