Skip to content
Skip to main navigation
Skip to first column
Skip to second column
Singular
Search
Download 4-2-1
Try Online
Online Manual
Graphical Interface
Report Bugs
Books
Teams
Join Us
Home
Online Manual
D.12.3.8 primL
Procedure from library
crypto.lib
(see
crypto_lib
).
Usage:
primL(q);
Return:
list of the first primes p_1,...,p_r such that q>p_1*...*p_(r-1) and q<p_1*...*p_r
Example:
LIB "crypto.lib"; primL(20); ==> [1]: ==> 2 ==> [2]: ==> 3 ==> [3]: ==> 5
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