Home Online Manual
Top
Back: primList
Forward: intPart
FastBack: atkins_lib
FastForward: hyperel_lib
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