An easy proof of Ramanujan's famous congruences $p(5m+4)\equiv 0 \equiv \tau(5m+5) \pmod 5$
Hartosh Singh Bal, Gaurav Bhatnagar

TL;DR
This paper provides a simplified proof of Ramanujan's well-known congruences for the partition function and Ramanujan's tau function modulo 5, utilizing classical identities and Ramanujan's own techniques.
Contribution
It offers an accessible proof of Ramanujan's congruences using basic identities and historical methods, avoiding complex modern machinery.
Findings
Proof of $p(5n+4) \\equiv 0 \\pmod 5$
Proof of $\tau(5n+5) \\equiv 0 \\pmod 5$
Simplifies understanding of Ramanujan's congruences
Abstract
We present a proof of Ramanujan's congruences The proof only requires a limiting case of Jacobi's triple product, a result that Ramanujan knew well, and a technique which Ramanujan used himself to compute values of .
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Mathematical Identities · Analytic Number Theory Research · Mathematical functions and polynomials
An easy proof of
Ramanujan’s famous congruences
Hartosh Singh Bal
The Caravan
Jhandewalan Extn., New Delhi 110001, India
and
Gaurav Bhatnagar
RamanujanExplained.org, 18 Chitra Vihar, Delhi 110092, India
[email protected] https://gauravbhatnagar.org
Abstract.
We present a proof of Ramanujan’s congruences
[TABLE]
The proof only requires a limiting case of Jacobi’s triple product, a result that Ramanujan knew well, and a technique which Ramanujan used himself to compute values of .
Key words and phrases:
Partitions, Ramanujan’s function, congruences
2020 Mathematics Subject Classification:
Primary: 11P83; Secondary: 05A17
1. Introduction
Let be the number of unordered partitions of a non-negative integer . They are given by the generating function
[TABLE]
Similarly, Ramanujan’s function is defined by the generating function
[TABLE]
The objective of this paper is to give a proof of Ramanujan’s congruences
[TABLE]
Ramanujan’s proof of the congruence appears in [10, Paper 25]; for his proof of the second congruence, see Berndt and Ono [6]. Our proof proves both at the same time; even so, it is easier.
We embed these in an infinite family of congruences. Let be defined using the equation
[TABLE]
where is a rational number. In this notation and . We will show:
[TABLE]
where is a rational number.111In these congruences, a rational number , with and relatively prime and not divisible by , is understood as , where is the multiplicative inverse of modulo . The cases and give Ramanujan’s congruences.
The main ingredient of our proof is Jacobi’s identity, a limiting case of his triple product identity [5, p. 14],
[TABLE]
Ramanujan had rediscovered Jacobi’s result. In our notation, it can be rewritten as follows:
[TABLE]
We mention that the result (1.2), and this proof, appears in the authors’ previous paper [1]. The objective of this note is to present the bare essentials of this proof.
2. The proof
We first prove a recurrence relation satisfied by the coefficients of powers of any generating function.
Lemma 2.1**.**
Let be any power series, and be non-zero, real, numbers, and defined by (1.1). Then we have
[TABLE]
Proof.
We take the log derivatives on both sides of (1.1), and multiply by , to obtain
[TABLE]
Similarly, we have
[TABLE]
This gives, on eliminating the common factor,
[TABLE]
The recurrence (2.1) follows by comparing coefficients of on both sides. ∎
Remark*.*
In this lemma, can be any generating function, and and any non-zero real or complex numbers, as long as and are formal power series. However, we will only apply it when is the generating function for partitions, and when and are rational numbers.
Proof of (1.2).
We use an inductive argument using the recurrence relation (2.1), with , in the form
[TABLE]
Here we have used Jacobi’s result in the form (1.4) for .
Take . For , (2.2) reduces to
[TABLE]
so (mod ) if (mod ).
For , consider the general term
[TABLE]
in (2.2) for each . When (mod ) it is of the form
[TABLE]
and, when (mod ), it is of the form
[TABLE]
So, when , these terms are . When (mod ), then the expression is of the form
[TABLE]
clearly, it is divisible by . Finally, when (mod ), this reduces to an expression of the form
[TABLE]
for some , and so is (mod ), by the induction hypothesis.
Thus each term of the sum on the right-hand side of (2.2) is . This completes the proof by induction. ∎
The following companions to (1.2) can be obtained from (2.2) by a similar proof:
[TABLE]
For further such congruences modulo , and some related results, see [1, 2].
3. Commentary
Taking log derivatives to obtain recurrences from generating functions is a standard procedure in generatingfunctionology, explained in Chapter 1 of Wilf [12]. It was one of Ramanujan’s favorite tricks. For example, we find the following recurrence in Ramanujan’s work (see [4, p. 108]):
[TABLE]
Here is the sum of divisors of . This can be obtained by log differentiation of and comparing coefficients. An extension was given by Ford [7]. See also Entries 12 and 13 in Chapter 10 of Ramanujan’s notebooks [3, pages 28–32] for some intricate examples illustrating Ramanujan’s use of log differentiation.
Ramanujan’s own recurrence for is (2.2) (with ); from this he computed 30 values of in his seminal paper [11]. His proof uses log derivatives, and is along the lines of our proof of (2.1). Gould [8] credits an equivalent form of (2.1) to Rothe (1793). Lehmer [9] used Ramanujan’s ideas to compute more values of .
Interestingly, Ramanujan too considered congruence results for and in tandem (see [6]); his proof of the congruence uses the congruence. Here is a relation connecting with , obtained by taking and in (2.1):
[TABLE]
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] H. S. Bal and G. Bhatnagar. The Partition-frequency enumeration matrix. Ramanujan J. , 59:51–86, 2022.
- 2[2] H. S. Bal and G. Bhatnagar. Glaisher’s divisors and infinite products. J. Integer Seq. , 27(1):Paper No. 24.1.6, 22, 2024.
- 3[3] B. C. Berndt. Ramanujan’s notebooks. Part II . Springer–Verlag, New York, 1989.
- 4[4] B. C. Berndt. Ramanujan’s notebooks. Part IV . Springer–Verlag, New York, 1994.
- 5[5] B. C. Berndt. Number theory in the spirit of Ramanujan , volume 34 of Student Mathematical Library . American Mathematical Society, Providence, RI, 2006.
- 6[6] B. C. Berndt and K. Ono. Ramanujan’s unpublished manuscript on the partition and tau functions with proofs and commentary. The Andrews Festschrift (Maratea, 1998). Sém. Lothar. Combin. , 42:Art. B 42c, 63, 1999.
- 7[7] W. B. Ford. Two theorems on the partitions of numbers. Amer. Math. Monthly , 38(4):183–184, 1931.
- 8[8] H. W. Gould. Coefficient identities for powers of Taylor and Dirichlet series. Amer. Math. Monthly , 81:3–14, 1974.
