Post Reply 
Running program from Home or Program menu
11-27-2019, 11:16 PM
Post: #7
RE: Running program from Home or Program menu
(11-27-2019 05:40 PM)Wes Loewer Wrote:  
(11-24-2019 11:06 PM)pinkman Wrote:  I created this fabulous program to find the next prime number:

Sorry but I have to ask, are you familiar with the nextprime() CAS command?

Yes for sure! But you are right to ask. In fact, I was looking for primes starting by 82 and ending by 1, like 8221 or 82231.
Brute force algorithm is to increase N in 82N1 and test if it is a prime number.
I noticed the above bug, so I tried to isolate the bug using isprime in this superb algorithm Smile
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Running program from Home or Program menu - pinkman - 11-27-2019 11:16 PM



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