Files
mpmath--mpmath/docs/functions/numtheory.rst
T
2026-07-13 12:32:53 +08:00

59 lines
1.1 KiB
ReStructuredText

Number-theoretical, combinatorial and integer functions
-------------------------------------------------------
For factorial-type functions, including binomial coefficients, double
factorials, etc, see the separate section :doc:`gamma`.
Fibonacci numbers
.................
.. autofunction:: mpmath.fibonacci
Bernoulli numbers and polynomials
.................................
.. autofunction:: mpmath.bernoulli
.. autofunction:: mpmath.bernfrac
.. autofunction:: mpmath.bernpoly
Euler numbers and polynomials
.............................
.. autofunction:: mpmath.eulernum
.. autofunction:: mpmath.eulerpoly
Bell numbers and polynomials
............................
.. autofunction:: mpmath.bell
Stirling numbers
................
.. autofunction:: mpmath.stirling1
.. autofunction:: mpmath.stirling2
Prime counting functions
........................
.. autofunction:: mpmath.primepi
.. autofunction:: mpmath.primepi2
.. autofunction:: mpmath.riemannr
Cyclotomic polynomials
......................
.. autofunction:: mpmath.cyclotomic
Arithmetic functions
......................
.. autofunction:: mpmath.mangoldt