Ramanujan sum


For positive integers s and n, the complex numberMathworldPlanetmathPlanetmath

cs⁢(n)=∑0≤k<n(k,n)=1e2⁢π⁢i⁢k⁢s/n

is referred to as a Ramanujan sumMathworldPlanetmath, or a Ramanujan trigonometric sum. Since e2⁢π⁢i=1, an equivalentMathworldPlanetmathPlanetmathPlanetmathPlanetmath definition is

cs⁢(n)=∑k∈r⁢(n)e2⁢π⁢i⁢k⁢s/n

where r⁢(n) is some reduced residue systemMathworldPlanetmath mod n, meaning any subset of ℤ containing exactly one element of each invertiblePlanetmathPlanetmathPlanetmathPlanetmath residue classMathworldPlanetmathPlanetmath mod n.

Using a symmetryPlanetmathPlanetmathPlanetmath argumentPlanetmathPlanetmath about roots of unityMathworldPlanetmath, one can show

∑d|scs⁢(n)={sif s|n0otherwise.

Applying Möbius inversion, we get

cs⁢(n)=∑d|nd|sμ⁢(n/d)⁢d=∑d|(n,s)μ⁢(n/d)⁢d

which shows that cs⁢(n) is a real number, and indeed an integer. In particular cs⁢(1)=μ⁢(s). More generally,

cs⁢t⁢(m⁢n)=cs⁢(m)⁢ct⁢(n)⁢ if ⁢(m,t)=(n,s)=1.

Using the Chinese remainder theoremMathworldPlanetmathPlanetmathPlanetmath, it is not hard to show that for any fixed n, the function s↦cs⁢(n) is multiplicative:

cs⁢(n)⁢ct⁢(n)=cs⁢t⁢(n)⁢ if ⁢(s,t)=1.

If m is invertible mod n, then the mapping k↦k⁢m is a permutation of the invertible residue classes mod n. Therefore

cs⁢(m⁢n)=cs⁢(n)⁢ if ⁢(m,s)=1.

Remarks: Trigonometric sums often make convenient apparatus in number theoryMathworldPlanetmath, since any function on a quotient ring of ℤ defines a periodic function on ℤ itself, and conversely. For another example, see Landsberg-Schaar relation.

Some writers use different notation from ours, reversing the roles of s and n in the expression cs⁢(n).

The name “Ramanujan sum” was introduced by Hardy.

Title Ramanujan sum
Canonical name RamanujanSum
Date of creation 2013-03-22 12:11:57
Last modified on 2013-03-22 12:11:57
Owner Mathprof (13753)
Last modified by Mathprof (13753)
Numerical id 11
Author Mathprof (13753)
Entry type Definition
Classification msc 11L03
Classification msc 11T23
Related topic RootOfUnity
Defines Ramanujan trigonometric sum