The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Find number property and write RPL program (HP-49G,G+, HP 50g)
09-23-2014, 05:41 PM
Post: #1
Find number property and write RPL program (HP-49G,G+, HP 50g)
This morning I opened my wallet and found only six bills therein (*). Oddly enough all their serial numbers are odd numbers.
  1. Besides being odd numbers, what other property do they share?
  2. Write a short RPL program to return a list containing the first n numbers which share that property (the shortest the better). Notice the list shall not contain any number ending in 7 or 5 (except 5 itself).


As always, research is allowed and encouraged. Both tasks shouldn't be difficult to accomplish, though.

Have fun!


(*) This is not to be taken seriously, of course. Even if they had only the odd-number property, that would have been quite unlikely.

[Image: SGPr_zpsedab8f6f.png]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Find number property and write RPL program (HP-49G,G+, HP 50g) - Gerson W. Barbosa - 09-23-2014 05:41 PM



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