Post Reply 
Find number property and write RPL program (HP-49G,G+, HP 50g)
09-24-2014, 05:58 PM (This post was last modified: 09-24-2014 06:02 PM by Mark Hardman.)
Post: #12
RE: Find number property and write RPL program (HP-49G,G+, HP 50g)
(09-24-2014 05:05 PM)Thomas Ritschel Wrote:  
(09-24-2014 04:04 PM)Gerson W. Barbosa Wrote:  Only 22% of the first thousand prime numbers are in the list, and this percentage drops to about 8% for the first million numbers, so I was amazed at finding one 11-digit such prime in a universe of only 12 numbers.
Too many hints by now :-)

That were indeed too many hints!
Your numbers are Sophie-Germain primes, e.g. prime numbers p for which 2p+1 is also prime.

Unfortunately I don't have my 50g with me right now. So I would leave it to someone else to present a RPL solution...

A quick image to verify the solution:

[Image: attachment.php?aid=1086]


Attached File(s) Thumbnail(s)
   

Ceci n'est pas une signature.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Find number property and write RPL program (HP-49G,G+, HP 50g) - Mark Hardman - 09-24-2014 05:58 PM



User(s) browsing this thread: 5 Guest(s)