In number theory, Ramanujan's sum, usually denoted cq(n), is a function of two positive integer variables q and n defined by the formula
where (a, q) = 1 means that a only takes on values coprime to q.
Srinivasa Ramanujan mentioned the sums in a 1918 paper. [1] In addition to the expansions discussed in this article, Ramanujan's sums are used in the proof of Vinogradov's theorem that every sufficiently large odd number is the sum of three primes. [2]
For integers a and b, is read "a divides b" and means that there is an integer c such that Similarly, is read "a does not divide b". The summation symbol
means that d goes through all the positive divisors of m, e.g.
is the greatest common divisor,
is the Möbius function, and
is the Riemann zeta function.
These formulas come from the definition, Euler's formula and elementary trigonometric identities.
and so on ( OEIS: A000012 , OEIS: A033999 , OEIS: A099837 , OEIS: A176742 ,.., OEIS: A100051 ,...). cq(n) is always an integer.
Let Then ζq is a root of the equation xq − 1 = 0. Each of its powers,
is also a root. Therefore, since there are q of them, they are all of the roots. The numbers where 1 ≤ n ≤ q are called the q-th roots of unity. ζq is called a primitiveq-th root of unity because the smallest value of n that makes is q. The other primitive q-th roots of unity are the numbers where (a, q) = 1. Therefore, there are φ(q) primitive q-th roots of unity.
Thus, the Ramanujan sum cq(n) is the sum of the n-th powers of the primitive q-th roots of unity.
It is a fact [3] that the powers of ζq are precisely the primitive roots for all the divisors of q.
Example. Let q = 12. Then
Therefore, if
is the sum of the n-th powers of all the roots, primitive and imprimitive,
and by Möbius inversion,
It follows from the identity xq − 1 = (x − 1)(xq−1 + xq−2 + ... + x + 1) that
and this leads to the formula
published by Kluyver in 1906. [4]
This shows that cq(n) is always an integer. Compare it with the formula
It is easily shown from the definition that cq(n) is multiplicative when considered as a function of q for a fixed value of n: [5] i.e.
From the definition (or Kluyver's formula) it is straightforward to prove that, if p is a prime number,
and if pk is a prime power where k > 1,
This result and the multiplicative property can be used to prove
This is called von Sterneck's arithmetic function. [6] The equivalence of it and Ramanujan's sum is due to Hölder. [7] [8]
For all positive integers q,
For a fixed value of q the absolute value of the sequence is bounded by φ(q), and for a fixed value of n the absolute value of the sequence is bounded by n.
If q > 1
Let m1, m2 > 0, m = lcm(m1, m2). Then [9] Ramanujan's sums satisfy an orthogonality property:
Let n, k > 0. Then [10]
known as the Brauer - Rademacher identity.
If n > 0 and a is any integer, we also have [11]
due to Cohen.
n | |||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | ||
s | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
2 | −1 | 1 | −1 | 1 | −1 | 1 | −1 | 1 | −1 | 1 | −1 | 1 | −1 | 1 | −1 | 1 | −1 | 1 | −1 | 1 | −1 | 1 | −1 | 1 | −1 | 1 | −1 | 1 | −1 | 1 | |
3 | −1 | −1 | 2 | −1 | −1 | 2 | −1 | −1 | 2 | −1 | −1 | 2 | −1 | −1 | 2 | −1 | −1 | 2 | −1 | −1 | 2 | −1 | −1 | 2 | −1 | −1 | 2 | −1 | −1 | 2 | |
4 | 0 | −2 | 0 | 2 | 0 | −2 | 0 | 2 | 0 | −2 | 0 | 2 | 0 | −2 | 0 | 2 | 0 | −2 | 0 | 2 | 0 | −2 | 0 | 2 | 0 | −2 | 0 | 2 | 0 | −2 | |
5 | −1 | −1 | −1 | −1 | 4 | −1 | −1 | −1 | −1 | 4 | −1 | −1 | −1 | −1 | 4 | −1 | −1 | −1 | −1 | 4 | −1 | −1 | −1 | −1 | 4 | −1 | −1 | −1 | −1 | 4 | |
6 | 1 | −1 | −2 | −1 | 1 | 2 | 1 | −1 | −2 | −1 | 1 | 2 | 1 | −1 | −2 | −1 | 1 | 2 | 1 | −1 | −2 | −1 | 1 | 2 | 1 | −1 | −2 | −1 | 1 | 2 | |
7 | −1 | −1 | −1 | −1 | −1 | −1 | 6 | −1 | −1 | −1 | −1 | −1 | −1 | 6 | −1 | −1 | −1 | −1 | −1 | −1 | 6 | −1 | −1 | −1 | −1 | −1 | −1 | 6 | −1 | −1 | |
8 | 0 | 0 | 0 | −4 | 0 | 0 | 0 | 4 | 0 | 0 | 0 | −4 | 0 | 0 | 0 | 4 | 0 | 0 | 0 | −4 | 0 | 0 | 0 | 4 | 0 | 0 | 0 | −4 | 0 | 0 | |
9 | 0 | 0 | −3 | 0 | 0 | −3 | 0 | 0 | 6 | 0 | 0 | −3 | 0 | 0 | −3 | 0 | 0 | 6 | 0 | 0 | −3 | 0 | 0 | −3 | 0 | 0 | 6 | 0 | 0 | −3 | |
10 | 1 | −1 | 1 | −1 | −4 | −1 | 1 | −1 | 1 | 4 | 1 | −1 | 1 | −1 | −4 | −1 | 1 | −1 | 1 | 4 | 1 | −1 | 1 | −1 | −4 | −1 | 1 | −1 | 1 | 4 | |
11 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | 10 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | 10 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | |
12 | 0 | 2 | 0 | −2 | 0 | −4 | 0 | −2 | 0 | 2 | 0 | 4 | 0 | 2 | 0 | −2 | 0 | −4 | 0 | −2 | 0 | 2 | 0 | 4 | 0 | 2 | 0 | −2 | 0 | −4 | |
13 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | 12 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | 12 | −1 | −1 | −1 | −1 | |
14 | 1 | −1 | 1 | −1 | 1 | −1 | −6 | −1 | 1 | −1 | 1 | −1 | 1 | 6 | 1 | −1 | 1 | −1 | 1 | −1 | −6 | −1 | 1 | −1 | 1 | −1 | 1 | 6 | 1 | −1 | |
15 | 1 | 1 | −2 | 1 | −4 | −2 | 1 | 1 | −2 | −4 | 1 | −2 | 1 | 1 | 8 | 1 | 1 | −2 | 1 | −4 | −2 | 1 | 1 | −2 | −4 | 1 | −2 | 1 | 1 | 8 | |
16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | −8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | −8 | 0 | 0 | 0 | 0 | 0 | 0 | |
17 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | 16 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | |
18 | 0 | 0 | 3 | 0 | 0 | −3 | 0 | 0 | −6 | 0 | 0 | −3 | 0 | 0 | 3 | 0 | 0 | 6 | 0 | 0 | 3 | 0 | 0 | −3 | 0 | 0 | −6 | 0 | 0 | −3 | |
19 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | 18 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | |
20 | 0 | 2 | 0 | −2 | 0 | 2 | 0 | −2 | 0 | −8 | 0 | −2 | 0 | 2 | 0 | −2 | 0 | 2 | 0 | 8 | 0 | 2 | 0 | −2 | 0 | 2 | 0 | −2 | 0 | −8 | |
21 | 1 | 1 | −2 | 1 | 1 | −2 | −6 | 1 | −2 | 1 | 1 | −2 | 1 | −6 | −2 | 1 | 1 | −2 | 1 | 1 | 12 | 1 | 1 | −2 | 1 | 1 | −2 | −6 | 1 | −2 | |
22 | 1 | −1 | 1 | −1 | 1 | −1 | 1 | −1 | 1 | −1 | −10 | −1 | 1 | −1 | 1 | −1 | 1 | −1 | 1 | −1 | 1 | 10 | 1 | −1 | 1 | −1 | 1 | −1 | 1 | −1 | |
23 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | 22 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | |
24 | 0 | 0 | 0 | 4 | 0 | 0 | 0 | −4 | 0 | 0 | 0 | −8 | 0 | 0 | 0 | −4 | 0 | 0 | 0 | 4 | 0 | 0 | 0 | 8 | 0 | 0 | 0 | 4 | 0 | 0 | |
25 | 0 | 0 | 0 | 0 | −5 | 0 | 0 | 0 | 0 | −5 | 0 | 0 | 0 | 0 | −5 | 0 | 0 | 0 | 0 | −5 | 0 | 0 | 0 | 0 | 20 | 0 | 0 | 0 | 0 | −5 | |
26 | 1 | −1 | 1 | −1 | 1 | −1 | 1 | −1 | 1 | −1 | 1 | −1 | −12 | −1 | 1 | −1 | 1 | −1 | 1 | −1 | 1 | −1 | 1 | −1 | 1 | 12 | 1 | −1 | 1 | −1 | |
27 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | −9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | −9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 18 | 0 | 0 | 0 | |
28 | 0 | 2 | 0 | −2 | 0 | 2 | 0 | −2 | 0 | 2 | 0 | −2 | 0 | −12 | 0 | −2 | 0 | 2 | 0 | −2 | 0 | 2 | 0 | −2 | 0 | 2 | 0 | 12 | 0 | 2 | |
29 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | −1 | 28 | −1 | |
30 | −1 | 1 | 2 | 1 | 4 | −2 | −1 | 1 | 2 | −4 | −1 | −2 | −1 | 1 | −8 | 1 | −1 | −2 | −1 | −4 | 2 | 1 | −1 | −2 | 4 | 1 | 2 | 1 | −1 | 8 |
If f(n) is an arithmetic function (i.e. a complex-valued function of the integers or natural numbers), then a convergent infinite series of the form:
or of the form:
where the ak ∈ C, is called a Ramanujan expansion [12] of f(n).
Ramanujan found expansions of some of the well-known functions of number theory. All of these results are proved in an "elementary" manner (i.e. only using formal manipulations of series and the simplest results about convergence). [13] [14] [15]
The expansion of the zero function depends on a result from the analytic theory of prime numbers, namely that the series
converges to 0, and the results for r(n) and r′(n) depend on theorems in an earlier paper. [16]
All the formulas in this section are from Ramanujan's 1918 paper.
The generating functions of the Ramanujan sums are Dirichlet series:
is a generating function for the sequence cq(1), cq(2), ... where q is kept constant, and
is a generating function for the sequence c1(n), c2(n), ... where n is kept constant.
There is also the double Dirichlet series
The polynomial with Ramanujan sum's as coefficients can be expressed with cyclotomic polynomial [17]
σk(n) is the divisor function (i.e. the sum of the k-th powers of the divisors of n, including 1 and n). σ0(n), the number of divisors of n, is usually written d(n) and σ1(n), the sum of the divisors of n, is usually written σ(n).
If s > 0,
Setting s = 1 gives
If the Riemann hypothesis is true, and
d(n) = σ0(n) is the number of divisors of n, including 1 and n itself.
where γ = 0.5772... is the Euler–Mascheroni constant.
Euler's totient function φ(n) is the number of positive integers less than n and coprime to n. Ramanujan defines a generalization of it, if
is the prime factorization of n, and s is a complex number, let
so that φ1(n) = φ(n) is Euler's function. [18]
He proves that
and uses this to show that
Letting s = 1,
Note that the constant is the inverse [19] of the one in the formula for σ(n).
Von Mangoldt's function Λ(n) = 0 unless n = pk is a power of a prime number, in which case it is the natural logarithm log p.
For all n > 0,
This is equivalent to the prime number theorem. [20] [21]
r2s(n) is the number of way of representing n as the sum of 2s squares, counting different orders and signs as different (e.g., r2(13) = 8, as 13 = (±2)2 + (±3)2 = (±3)2 + (±2)2.)
Ramanujan defines a function δ2s(n) and references a paper [22] in which he proved that r2s(n) = δ2s(n) for s = 1, 2, 3, and 4. For s > 4 he shows that δ2s(n) is a good approximation to r2s(n).
s = 1 has a special formula:
In the following formulas the signs repeat with a period of 4.
and therefore,
is the number of ways n can be represented as the sum of 2s triangular numbers (i.e. the numbers 1, 3 = 1 + 2, 6 = 1 + 2 + 3, 10 = 1 + 2 + 3 + 4, 15, ...; the n-th triangular number is given by the formula n(n + 1)/2.)
The analysis here is similar to that for squares. Ramanujan refers to the same paper as he did for the squares, where he showed that there is a function such that for s = 1, 2, 3, and 4, and that for s > 4, is a good approximation to
Again, s = 1 requires a special formula:
If s is a multiple of 4,
Therefore,
Let
Then for s > 1,
These sums are obviously of great interest, and a few of their properties have been discussed already. But, so far as I know, they have never been considered from the point of view which I adopt in this paper; and I believe that all the results which it contains are new.(Papers, p. 179). In a footnote cites pp. 360–370 of the Dirichlet–Dedekind Vorlesungen über Zahlentheorie, 4th ed.
The majority of my formulae are "elementary" in the technical sense of the word — they can (that is to say) be proved by a combination of processes involving only finite algebra and simple general theorems concerning infinite series(Papers, p. 179)
In mathematics, the gamma function is the most common extension of the factorial function to complex numbers. Derived by Daniel Bernoulli, the gamma function is defined for all complex numbers except non-positive integers, and for every positive integer , The gamma function can be defined via a convergent improper integral for complex numbers with positive real part:
In mathematics, the prime number theorem (PNT) describes the asymptotic distribution of the prime numbers among the positive integers. It formalizes the intuitive idea that primes become less common as they become larger by precisely quantifying the rate at which this occurs. The theorem was proved independently by Jacques Hadamard and Charles Jean de la Vallée Poussin in 1896 using ideas introduced by Bernhard Riemann.
The Riemann zeta function or Euler–Riemann zeta function, denoted by the Greek letter ζ (zeta), is a mathematical function of a complex variable defined as for , and its analytic continuation elsewhere.
In number theory, Euler's totient function counts the positive integers up to a given integer n that are relatively prime to n. It is written using the Greek letter phi as or , and may also be called Euler's phi function. In other words, it is the number of integers k in the range 1 ≤ k ≤ n for which the greatest common divisor gcd(n, k) is equal to 1. The integers k of this form are sometimes referred to as totatives of n.
Euler's constant is a mathematical constant, usually denoted by the lowercase Greek letter gamma, defined as the limiting difference between the harmonic series and the natural logarithm, denoted here by log:
In mechanics and geometry, the 3D rotation group, often denoted SO(3), is the group of all rotations about the origin of three-dimensional Euclidean space under the operation of composition.
In mathematics, the Bernoulli polynomials, named after Jacob Bernoulli, combine the Bernoulli numbers and binomial coefficients. They are used for series expansion of functions, and with the Euler–MacLaurin formula.
In mathematics, the Clausen function, introduced by Thomas Clausen, is a transcendental, special function of a single variable. It can variously be expressed in the form of a definite integral, a trigonometric series, and various other forms. It is intimately connected with the polylogarithm, inverse tangent integral, polygamma function, Riemann zeta function, Dirichlet eta function, and Dirichlet beta function.
In mathematics, the Hurwitz zeta function is one of the many zeta functions. It is formally defined for complex variables s with Re(s) > 1 and a ≠ 0, −1, −2, … by
In mathematics, and specifically in number theory, a divisor function is an arithmetic function related to the divisors of an integer. When referred to as the divisor function, it counts the number of divisors of an integer. It appears in a number of remarkable identities, including relationships on the Riemann zeta function and the Eisenstein series of modular forms. Divisor functions were studied by Ramanujan, who gave a number of important congruences and identities; these are treated separately in the article Ramanujan's sum.
In mathematics, theta functions are special functions of several complex variables. They show up in many topics, including Abelian varieties, moduli spaces, quadratic forms, and solitons. As Grassmann algebras, they appear in quantum field theory.
In mathematics, the Lerch transcendent, is a special function that generalizes the Hurwitz zeta function and the polylogarithm. It is named after Czech mathematician Mathias Lerch, who published a paper about a similar function in 1887. The Lerch transcendent, is given by:
In mathematics, the Stieltjes constants are the numbers that occur in the Laurent series expansion of the Riemann zeta function:
In mathematics, the lemniscate constantϖ is a transcendental mathematical constant that is the ratio of the perimeter of Bernoulli's lemniscate to its diameter, analogous to the definition of π for the circle. Equivalently, the perimeter of the lemniscate is 2ϖ. The lemniscate constant is closely related to the lemniscate elliptic functions and approximately equal to 2.62205755. It also appears in evaluation of the gamma and beta function at certain rational values. The symbol ϖ is a cursive variant of π; see Pi § Variant pi.
In mathematics, the Riemann zeta function is a function in complex analysis, which is also important in number theory. It is often denoted and is named after the mathematician Bernhard Riemann. When the argument is a real number greater than one, the zeta function satisfies the equation It can therefore provide the sum of various convergent infinite series, such as Explicit or numerically efficient formulae exist for at integer arguments, all of which have real values, including this example. This article lists these formulae, together with tables of values. It also includes derivatives and some series composed of the zeta function at integer arguments.
In mathematics, the multiple zeta functions are generalizations of the Riemann zeta function, defined by
In mathematics, the Riemann hypothesis is the conjecture that the Riemann zeta function has its zeros only at the negative even integers and complex numbers with real part 1/2. Many consider it to be the most important unsolved problem in pure mathematics. It is of great interest in number theory because it implies results about the distribution of prime numbers. It was proposed by Bernhard Riemann, after whom it is named.
In fluid dynamics, a cnoidal wave is a nonlinear and exact periodic wave solution of the Korteweg–de Vries equation. These solutions are in terms of the Jacobi elliptic function cn, which is why they are coined cnoidal waves. They are used to describe surface gravity waves of fairly long wavelength, as compared to the water depth.
In mathematics, infinite compositions of analytic functions (ICAF) offer alternative formulations of analytic continued fractions, series, products and other infinite expansions, and the theory evolving from such compositions may shed light on the convergence/divergence of these expansions. Some functions can actually be expanded directly as infinite compositions. In addition, it is possible to use ICAF to evaluate solutions of fixed point equations involving infinite expansions. Complex dynamics offers another venue for iteration of systems of functions rather than a single function. For infinite compositions of a single function see Iterated function. For compositions of a finite number of functions, useful in fractal theory, see Iterated function system.