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

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


Top Back: primList Forward: intPart 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.