D.12.2.9 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
User manual for
Singular
version 4.3.1, 2022, generated by
texi2html
.