Skip to content
Skip to main navigation
Skip to first column
Skip to second column
Singular
Search
Download 4-1-0
Try Online
Online Manual
Graphical Interface
Get Help
Report Bugs
Books
Teams
Join Us
Home
Online Manual
D.12.3.35 is_primitive_root
Procedure from library
crypto.lib
(see
crypto_lib
).
Usage:
is_primitive_root(primitive, mod1)
Return:
1 if primitive is a primitive root modulo mod1, 0 otherwise
Example:
LIB "crypto.lib"; is_primitive_root(3,7); ==> 1 is_primitive_root(2,7); ==> 0
Main
Home
News
Publications
How to cite Singular
Community
Forum
Trac
Events
Mailing List
Blog
System
New Libraries
Source Code
Open Tasks
Third-party software
Misc
Links
Contact
Impressum
Internal