primitive root
|
09-01-2015, 01:28 PM
Post: #1
|
|||
|
|||
primitive root
function next_primitive_root(n,p) returns the smallest primitive root of "p" that is larger than "n"
example: next_primitive_root(5, 13) returns 6 next_primitive_root(Ans,13) returns 7 <enter> returns 11 <enter> returns "no primitive roots exist" Code: #pragma mode( separator(.,;) integer(h32)) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)