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?

  Submitted by Old Original Oskar!    
Rating: 4.0000 (2 votes)
Solution: (Hide)
First, let's try p=2; we produce 5, 11, 23, 47, but 95 isn't a prime, so from now on, we can assume p is odd.

If the first number is a(0)=p, we have a(n+1)=2a(n)+1, and it's easy to show that a(n)=p.2^n+(2^n-1).

Consider a(n) modulus p; a(n) is congruent to 2^n-1, so a(p-1) is congruent to 2^(p-1)-1, but applying Fermat's little theorem, 2^(p-1) is congruent to 1 modulus p, so a(p-1) is a multiple of p, so it's not a prime.

Comments: ( You must be logged in to post comments.)
  Subject Author Date
details of a betDennis2006-11-30 09:41:36
re: A betCharlie2006-11-30 09:07:59
Some Thoughtsre: I would take that betFederico Kereki2006-11-29 21:50:30
re: I would take that betRichard2006-11-29 21:28:19
Hints/TipsI would take that betGamer2006-11-29 20:44:10
re: A betGamer2006-11-29 20:35:27
Some ThoughtsA betFederico Kereki2006-11-29 18:27:15
Some Thoughtsclassic proofNadia Modagon2006-11-29 18:20:28
re(3): One Approach (Spoiler?)Steve Herman2006-11-29 16:19:45
re(2): One Approach (Spoiler?)Richard2006-11-29 14:30:37
re: One Approach (Spoiler?)Bernie Hunt2006-11-29 13:41:48
One Approach (Spoiler?)Richard2006-11-29 12:17:45
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 (6)
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