Digital Library of Mathematical Functions
About the Project
NIST
27 Functions of Number TheoryMultiplicative Number Theory

§27.10 Periodic Number-Theoretic Functions

If k is a fixed positive integer, then a number-theoretic function f is periodic (mod k) if

Examples are the Dirichlet characters (mod k) and the greatest common divisor \left(n,k\right) regarded as a function of n.

Every function periodic (mod k) can be expressed as a finite Fourier series of the form

where g(m) is also periodic (mod k), and is given by

An example is Ramanujan’s sum:

where \mathop{\chi\/}\nolimits_{1} is the principal character (mod k). This is the sum of the nth powers of the primitive kth roots of unity. It can also be expressed in terms of the Möbius function as a divisor sum:

More generally, if f and g are arbitrary, then the sum

is a periodic function of n\;\;(\mathop{{\rm mod}}k) and has the finite Fourier-series expansion

where

Another generalization of Ramanujan’s sum is the Gauss sum \mathop{G\/}\nolimits\!\left(n,\mathop{\chi\/}\nolimits\right) associated with a Dirichlet character \mathop{\chi\/}\nolimits\;\;(\mathop{{\rm mod}}k). It is defined by the relation

In particular, \mathop{G\/}\nolimits\!\left(n,\mathop{\chi\/}\nolimits_{1}\right)=\mathop{c_{%
{k}}\/}\nolimits\!\left(n\right).

\mathop{G\/}\nolimits\!\left(n,\mathop{\chi\/}\nolimits\right) is separable for some n if

For any Dirichlet character \mathop{\chi\/}\nolimits\;\;(\mathop{{\rm mod}}k), \mathop{G\/}\nolimits\!\left(n,\mathop{\chi\/}\nolimits\right) is separable for n if \left(n,k\right)=1, and is separable for every n if and only if \mathop{G\/}\nolimits\!\left(n,\mathop{\chi\/}\nolimits\right)=0 whenever \left(n,k\right)>1. For a primitive character \mathop{\chi\/}\nolimits\;\;(\mathop{{\rm mod}}k), \mathop{G\/}\nolimits\!\left(n,\mathop{\chi\/}\nolimits\right) is separable for every n, and

Conversely, if \mathop{G\/}\nolimits\!\left(n,\mathop{\chi\/}\nolimits\right) is separable for every n, then \mathop{\chi\/}\nolimits is primitive (mod k).

The finite Fourier expansion of a primitive Dirichlet character \mathop{\chi\/}\nolimits\;\;(\mathop{{\rm mod}}k) has the form