Skip to content

Rogers–Ramanujan Identities

Two partition identities equating gap-restricted counts with counts in residue classes modulo five.

Version
v1 · 2026-11-14 · History
Domain-specific #
14921
Domain group
Formal Sciences
Origin domain
Mathematics
Subdomain
Partition Theory → Mathematics
Aliases
Rogers-Ramanujan identities

Core Idea

The Rogers–Ramanujan identities equate two pairs of generating functions. One description counts integer partitions whose successive parts differ by at least two; the other permits repetition but restricts each part to particular residue classes modulo five. The first identity uses residues \(1,4\); the second uses \(2,3\) and adds the condition that the smallest part on the difference side is at least two.[1]

An integer partition is an unordered multiset of positive integers summing to a given number. The two sides count different sets of partitions, not necessarily the same partitions written differently. Equality means that, for every total, the two sets have the same size.

How would you explain it like I'm…

Two Rules, Same Count

Take a number, like 6, and count how many ways you can break it into smaller numbers that add up to it. Count one way: the pieces must all be different and at least 2 apart. Count another way: pieces can repeat, but only from the special list 1, 4, 6, 9, 11, 14 and so on. Amazingly, the two counts always come out the same, for every number!

Matching Number-Splitting Counts

A partition of a number is a way to write it as a sum of whole numbers, where order doesn't matter. The Rogers–Ramanujan identities say two different counting rules always give the same answer. Rule one: the pieces are all at least 2 apart. Rule two: pieces can repeat, but each must leave remainder 1 or 4 when divided by 5. For 6, rule one gives 6, 5+1 and 4+2, and rule two gives 6, 4+1+1 and 1+1+1+1+1+1 — three each. A second identity works the same way with remainders 2 and 3, plus the rule that the smallest piece on the 'at least 2 apart' side is at least 2.

Rogers–Ramanujan Partition Identities

An integer partition is an unordered way of writing a number as a sum of positive integers. The Rogers–Ramanujan identities are two equalities between pairs of generating functions, which are power series that encode partition counts. In the first identity, one side counts partitions whose successive parts differ by at least two, and the other counts partitions (repeats allowed) whose parts are all congruent to 1 or 4 modulo 5. The second identity uses parts congruent to 2 or 3 modulo 5, and on the difference side adds the condition that the smallest part is at least 2. The two sides count different sets of partitions — it's not that each partition is just written differently — but for every total, the two sets are the same size.

 

The Rogers–Ramanujan identities equate two pairs of generating functions arising in the theory of integer partitions. A partition of n is an unordered multiset of positive integers summing to n. On one side of each identity are partitions whose successive parts differ by at least two (the 'difference' condition). On the other side, parts may repeat but each must lie in particular residue classes modulo five. The first identity pairs the difference condition with parts congruent to 1 or 4 mod 5. The second identity uses parts congruent to 2 or 3 mod 5, and on the difference side additionally requires the smallest part to be at least two. Equality of generating functions means that for every n the two sets of partitions have the same cardinality. The sets themselves are different; the identity is not saying the same partitions are being written in two notations.

The Two Identities

Write \((q;q)_k=\prod_{j=1}^{k}(1-q^j)\), with \((q;q)_0=1\). For \(|q|<1\),[2]

[ \sum_{k=0}{\infty}\frac{q{(q;q)}k} =\prod{\infty}\frac{1}{(1-q, ] [ \sum_{k=0}})(1-q^{5m+4}){\infty}\frac{q{(q;q)}k} =\prod{\infty}\frac{1}{(1-q. ]})(1-q^{5m+3})

On the first sum side, a partition with \(k\) parts separated by at least two has a minimal staircase \(2k-1,2k-3,\ldots,1\), totaling \(k^2\); the denominator accounts for allowable additions. Requiring every part to be at least two raises that staircase total to \(k^2+k\). On each product side, expanding a factor \((1-q^j)^{-1}\) allows any number of parts of size \(j\). The \(k=0\) term represents the empty partition.[1][2]

A Small Comparison

For total six, the difference-at-least-two partitions are \(6\), \(5+1\), and \(4+2\). The partitions using only parts congruent to \(1\) or \(4\) modulo five are \(6\), \(4+1+1\), and \(1+1+1+1+1+1\): three in each class. For the second identity, \(6\) and \(4+2\) satisfy the difference condition with all parts at least two, while \(3+3\) and \(2+2+2\) use only residues \(2,3\) modulo five.[1]

Beyond the Pair

The identities have analytic and combinatorial proofs, including bijective approaches. Gordon's partition theorem and its analytic counterpart extend the pair with additional parameters and conditions; the phrase “Rogers–Ramanujan type” covers a wider family, not a rule that any larger gap and modulus automatically give an identity.[1] Connections to representation theory and other models give further interpretations, but they require additional structure beyond the partition statements themselves.[2]

Relationships to Other Abstractions

Local relationship map for Rogers–Ramanujan IdentitiesParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Rogers–RamanujanIdentitiesDOMAINPrime abstraction: Representation — presupposesRepresentationPRIME

Current abstraction Rogers–Ramanujan Identities Domain-specific

Parents (1) — outgoing typed relations

  • Rogers–Ramanujan Identities presupposes Representation Prime

    Generating-function coefficients represent the partition-count sequence.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Rogers–Ramanujan Identities sits in a sparse region of the domain-specific corpus (88th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Unclustered & Miscellaneous (3155 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] A. K. Agarwal and M. Goyal (2012), “New Partition Theoretic Interpretations of Rogers-Ramanujan Identities,” International Journal of Combinatorics, article 409505, doi:10.1155/2012/409505. registry ↩a ↩b ↩c ↩d

[2] Hjalmar Rosengren (2021; issue 2023), “Proofs of some partition identities conjectured by Kanade and Russell,” The Ramanujan Journal 61, 295–317, doi:10.1007/s11139-021-00389-9. registry ↩a ↩b ↩c