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

Home > Numbers
Long chain (Posted on 2015-04-10) Difficulty: 3 of 5
Create a chain of consecutive digits starting with 1 and following 9 by 0: 123456789012345...

How many digits are needed to obtain the 1st prime number?

See The Solution Submitted by Ady TZIDON    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Hints/Tips re: computer exploration | Comment 2 of 7 |
(In reply to computer exploration by Charlie)

Clearly 2 is not the correct answer, as it does not comply with the definition of the string (in which 9 is followed by 0).

Re your program - only the strings terminating by 1 and 7 are candidates to be tested, since 2,4,6,8 or 0  create  an even number, 5 causes the chain to be divisible by 5, and 3 or 9 at the end result in s.o.d. that is a multiple of 3.

The answer (to the best of my knowledge) over 150 and below 200 digits, and I can provide it to you by Email if your revised rogram fails to discover it. 

Feel free to reach me by Email for clarifications, if needed.

  


  Posted by Ady TZIDON on 2015-04-10 23:50:31
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 (12)
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