FLINT3.7.0-dev

DivisorSigma, MoebiusMu, EulerPhi, LiouvilleLambda, SquaresR

Synopsis#include <flint/fexpr_builtin.h>
DivisorSigma
MoebiusMu
EulerPhi
LiouvilleLambda
SquaresR

Arithmetic functions: the divisor function DivisorSigma(k, n) (\sigma_{k}\!\left(n\right)), the Möbius function MoebiusMu(n) (\mu(n)), Euler's totient function EulerPhi(n) (\varphi(n)), the Liouville function LiouvilleLambda(n) (\lambda(n)) and the number of representations as a sum of squares SquaresR(k, n) (r_{k}\!\left(n\right)).

Cite this page

The FLINT team, “DivisorSigma, MoebiusMu, EulerPhi, LiouvilleLambda, SquaresR (fexpr_builtin.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fexpr_builtin/DivisorSigma.html (generated 2026-10-20).