Post Reply 
Find number property and write RPL program (HP-49G,G+, HP 50g)
09-23-2014, 10:51 PM (This post was last modified: 09-23-2014 11:07 PM by Gerson W. Barbosa.)
Post: #6
RE: Find number property and write RPL program (HP-49G,G+, HP 50g)
(09-23-2014 10:02 PM)Bill Zimmerly Wrote:  
(09-23-2014 05:41 PM)Gerson W. Barbosa Wrote:  This morning I opened my wallet and found only six bills therein (*). Oddly enough all their serial numbers are odd numbers.

[*]Besides being odd numbers, what other property do they share?

They're all prime numbers.

Yes, all of them are prime numbers, but this is not the property I am interested in. Notice I said 7 does not belong in the list. So the list in item 2 is a subset of the set of the prime numbers.

Gerson.

P.S.: I forgot to mention 2, an even number, is also on the list. BTW, the size of my RPL program is 88.5 bytes (probably still non-optimal). With argument 3 it will return { 2 3 5 }.
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) - Gerson W. Barbosa - 09-23-2014 10:51 PM



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