Post Reply 
Need an HP employee to answer this question
06-24-2017, 06:11 AM
Post: #3
RE: Need an HP employee to answer this question
isPrime does the Miller-Rabin test on the Prime.
powmod(a,n,m) is computed by the fast powering algorithm, it does not compute a^n before taking remainder.
nprimes is a Giac/Xcas command, but it is not available on the Prime (perhaps we could add it?). Note that ithprime might be useful to implement nprimes, as a first step using an asymptotic guess.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Need an HP employee to answer this question - parisse - 06-24-2017 06:11 AM



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