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

Home > Numbers
Perpetual Primes Production? (Posted on 2006-11-29) Difficulty: 3 of 5
Pick a positive integer to start a sequence. Now double it, and add one to the result: this is the second number of your sequence. Double that number, and add one, and that will be your third number; repeat the doubling and adding, and you will have a fourth number, and so on.

If you start with a prime number, and you keep doubling and adding one, is it possible to produce a sequence with only prime numbers?

See The Solution Submitted by Old Original Oskar!    
Rating: 4.0000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re: One Approach (Spoiler?) | Comment 2 of 12 |
(In reply to One Approach (Spoiler?) by Richard)

I get

N_k = 2^(k-1) * (P+1) - 1

as the non-recursive formula.

According to Fermat's Little Theorem, there exists a (k-1) such that

2^(k-1) = m * P + 1

where m is some non-negative integer. So,

N_k = [m*P + (m+1)] * P

Which is not prime. So the answer is: no, it is not possible to produce a purely prime sequence using this method.


  Posted by Bernie Hunt on 2006-11-29 13:41:48
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