Skip to content
Skip to main navigation
Skip to first column
Skip to second column
Singular
Search
Download 4-1-3
Try Online
Online Manual
Graphical Interface
Get Help
Report Bugs
Books
Teams
Join Us
Home
Online Manual
D.12.3.7 primList
Procedure from library
crypto.lib
(see
crypto_lib
).
Usage:
primList(n);
Return:
the list of all primes <=n
Example:
LIB "crypto.lib"; list L=primList(100); size(L); ==> 25 L[size(L)]; ==> 97
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