Number-theoretical, combinatorial and integer functions

For factorial-type functions, including binomial coefficients, double factorials, etc., see the separate section of the documentation.

Fibonacci numbers

fibonacci()/fib()

Bernoulli numbers and polynomials

bernoulli()

bernfrac()

bernpoly()

Bell numbers and polynomials

bell()

Prime counting functions

primepi()

primepi2()

riemannr()

Cyclotomic polynomials

cyclotomic()