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.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


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-0-3, 2016, generated by texi2html.