Top
Back: deleteSublist
Forward: fibonacci
FastBack:
FastForward:
Up: general_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.2.3.7 factorial

Procedure from library general.lib (see general_lib).

Usage:
factorial(n); n integer

Return:
factorial(n): n! of type bigint.

Example:
 
LIB "general.lib";
factorial(37);
==> 13763753091226345046315979581580902400000000
See also: prime.


Top Back: deleteSublist Forward: fibonacci FastBack: FastForward: Up: general_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.