Post Reply 
Prime number finder HP11C?
06-13-2016, 11:09 PM
Post: #2
RE: Prime number finder HP11C?
.
Hi, jbhp55:

(06-13-2016 07:15 PM)jbhp55 Wrote:  I am curious to know if it is possible to write a shorter program for the 11C which finds the next prime number.
[...]
I'd like to know if any of the many features can improve my prime finding program.

It would help if you first post here your best attempt, then we'll see if it can be improved. There are two possible optimizations for a prime-finder program (or most any program for that matter):

a) optimize for size: the shortest program possible but not the fastest one.

b) optimize for speed: the fastest program but longer than option (a) above.

and of course some compromise: not the shortest but not the fastest either.

The HP-11C is indeed a wonderful calculator, I used one while in Africa courtesy of an old friend of mine and it performed flawlessly. I still have it with me to this day, 36+ years later, and it looks and works as new.

Again: post your HP-11C program here and we'll see if it can be meaningfully improved.

V.
.

  
All My Articles & other Materials here:  Valentin Albillo's HP Collection
 
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Prime number finder HP11C? - jbhp55 - 06-13-2016, 07:15 PM
RE: Prime number finder HP11C? - Valentin Albillo - 06-13-2016 11:09 PM
RE: Prime number finder HP11C? - jbhp55 - 06-14-2016, 06:33 AM
RE: Prime number finder HP11C? - TASP - 06-14-2016, 11:35 PM
RE: Prime number finder HP11C? - jbhp55 - 06-16-2016, 07:56 PM
RE: Prime number finder HP11C? - jbhp55 - 06-17-2016, 07:08 AM
RE: Prime number finder HP11C? - Dieter - 06-17-2016, 06:42 PM
RE: Prime number finder HP11C? - Marcio - 06-27-2016, 10:17 PM
RE: Prime number finder HP11C? - jbhp55 - 06-17-2016, 10:43 AM
RE: Prime number finder HP11C? - rprosperi - 06-18-2016, 10:27 PM
RE: Prime number finder HP11C? - bshoring - 06-18-2016, 07:23 PM
RE: Prime number finder HP11C? - jbhp55 - 06-19-2016, 01:14 PM
RE: Prime number finder HP11C? - rprosperi - 06-19-2016, 08:03 PM
RE: Prime number finder HP11C? - jbhp55 - 06-19-2016, 01:17 PM
RE: Prime number finder HP11C? - jbhp55 - 06-19-2016, 05:35 PM
RE: Prime number finder HP11C? - rprosperi - 06-19-2016, 07:25 PM
RE: Prime number finder HP11C? - rprosperi - 06-20-2016, 12:05 AM
RE: Prime number finder HP11C? - jbhp55 - 06-19-2016, 09:28 PM
RE: Prime number finder HP11C? - rprosperi - 06-20-2016, 12:20 AM



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