RPL minichallenge  Triangle of Primes (HP49G/G+,50g)

06302019, 11:05 PM
Post: #4




RE: RPL minichallenge  Triangle of Primes (HP49G/G+,50g)
(06302019 09:10 PM)Valentin Albillo Wrote: . Hello, Valentin, I hope the examples I have provided compensate for some lack of rigor from my part. “k” is the number of elements in the list minus 1. Yes, it can fit in one HP71BASIC line if either NEXTPRIME() or PRIME() function is available. Of course, being this an RPL minichalenge, the size of your BASIC code won’t compare to equivalent RPL codes. However, considering optimized algorithms can possibly make for shorter RPL codes than we currently have, I think the submission of nonRPL programs might be helpful, so they’re always welcome. Best regards, Gerson. 

« Next Oldest  Next Newest »

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