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.2.10 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.4.0, 2024, generated by texi2html.