§ 27.10. Periodic Number-Theoretic Functions
If
is a fixed positive integer, then a number-theoretic function
is
periodic (mod
) if
- Defines:
-
: function - Symbols:
-
: positive integer and
: positive integer
- Permalink:
- http://dlmf.nist.gov/27.10.E1
- Encodings:
- TeX, pMathML, png
Examples are the Dirichlet characters (mod
) and the greatest common
divisor
regarded as a function of
.
Every function periodic (mod
) can be expressed as a finite Fourier
series
of the form
- Defines:
-
: periodic function - Symbols:
-
: positive integer,
: positive integer,
: positive integer and
: function
- Permalink:
- http://dlmf.nist.gov/27.10.E2
- Encodings:
- TeX, pMathML, png
where
is also periodic (mod
), and is given by
- Defines:
-
: periodic function - Symbols:
-
: positive integer,
: positive integer,
: positive integer and
: function
- Permalink:
- http://dlmf.nist.gov/27.10.E3
- Encodings:
- TeX, pMathML, png
An example is Ramanujan's sum:
- Defines:
-
: Ramanujan's sum - Symbols:
-
: positive integer,
: positive integer,
: positive integer and
: Dirichlet character
- Permalink:
- http://dlmf.nist.gov/27.10.E4
- Encodings:
- TeX, pMathML, png
where
is the principal character (mod
). This is the sum of the
th powers of the primitive
th roots of unity. It can also be expressed in
terms of the Möbius function as a divisor sum:
- Defines:
-
: Ramanujan's sum - Symbols:
-
: Möbius function,
: positive integer,
: positive integer and
: positive integer
- Permalink:
- http://dlmf.nist.gov/27.10.E5
- Encodings:
- TeX, pMathML, png
More generally, if
and
are arbitrary, then the sum
- Symbols:
-
: positive integer,
: positive integer,
: positive integer,
: function and
: periodic function
- Permalink:
- http://dlmf.nist.gov/27.10.E6
- Encodings:
- TeX, pMathML, png
is a periodic function of
and has the finite Fourier-series
expansion
- Defines:
-
: coefficients - Symbols:
-
: positive integer,
: positive integer and
: positive integer
- Permalink:
- http://dlmf.nist.gov/27.10.E7
- Encodings:
- TeX, pMathML, png
where
- Defines:
-
: coefficients - Symbols:
-
: positive integer,
: positive integer,
: positive integer,
: function and
: periodic function
- Permalink:
- http://dlmf.nist.gov/27.10.E8
- Encodings:
- TeX, pMathML, png
Another generalization of Ramanujan's sum is the Gauss sum
associated with a Dirichlet character
. It
is defined by the relation
- Defines:
-
: Gauss sum and
: Dirichlet character - Symbols:
-
: positive integer,
: positive integer and
: positive integer
- Permalink:
- http://dlmf.nist.gov/27.10.E9
- Encodings:
- TeX, pMathML, png
In particular,
.
is separable
for some
if
- Symbols:
-
: Gauss sum,
: positive integer and
: Dirichlet character
- Permalink:
- http://dlmf.nist.gov/27.10.E10
- Encodings:
- TeX, pMathML, png
For any Dirichlet character
,
is separable
for
if
, and is separable for every
if and only if
whenever
. For a primitive character
,
is separable for every
, and
- Symbols:
-
: Gauss sum,
: positive integer and
: Dirichlet character
- Permalink:
- http://dlmf.nist.gov/27.10.E11
- Encodings:
- TeX, pMathML, png
Conversely, if
is separable for every
, then
is
primitive (mod
).
The finite Fourier expansion of a primitive Dirichlet character
has the form
- Symbols:
-
: Gauss sum,
: positive integer,
: positive integer,
: positive integer and
: Dirichlet character
- Permalink:
- http://dlmf.nist.gov/27.10.E12
- Encodings:
- TeX, pMathML, png

