Post Reply 
RPL mini-challenge - Triangle of Primes (HP-49G/G+,50g)
06-30-2019, 08:41 PM (This post was last modified: 06-30-2019 08:43 PM by Gerson W. Barbosa.)
Post: #1
RPL mini-challenge - Triangle of Primes (HP-49G/G+,50g)
.
                2
             3  5  7
         11 13 17 19 23
      29 31 37 41 43 47 53
   59 61 67 71 73 79 83 89 97
...            ...          ...


Write an RPL program that lists the elements in the central column of the triangle of primes above, starting from a(0) = 2 up to a(k). For example,

 2 -> {2 5 17}
 5 -> {2 5 17 41 73 127}
99 -> {2 5 17 41 73 ... ... 101323 103613}

My checksum is # 7A67h.

Have fun!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RPL mini-challenge - Triangle of Primes (HP-49G/G+,50g) - Gerson W. Barbosa - 06-30-2019 08:41 PM



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