(11C) Prime or Not Prime Number
|
01-20-2018, 01:04 PM
(This post was last modified: 01-25-2018 09:33 AM by Gamo.)
Post: #1
|
|||
|
|||
(11C) Prime or Not Prime Number
This program check to see if the number is Prime or not Prime number.
Result 0 is Not Prime Number Result 1 is Prime Numer Code:
Here is another program to develop the Next Number of Prime. Code:
Example: if the start number is prime the same starting number repeated. Start 110 B > 113 > Repeat R/S > 127, 131, 137, 139,.... Start 13 B > 13 > Repeat R/S > 17, 19, 23, 29,..... Large number will compute faster with the modern 15C Try this number 899,880,277 to start. Repeat R/S for next prime is 899,880,281 in 2 second using HP-15C Emulator on PC. Gamo |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(11C) Prime or Not Prime Number - Gamo - 01-20-2018 01:04 PM
RE: (11C) Prime or Not Prime Number - Dieter - 01-20-2018, 06:17 PM
|
User(s) browsing this thread: 1 Guest(s)