Top
Back: Jacobi
Forward: primL
FastBack:
FastForward:
Up: crypto_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

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


Top Back: Jacobi Forward: primL FastBack: FastForward: Up: crypto_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4.3.1, 2022, generated by texi2html.