Partitions of Integers Explained
Generating functions, Ferrers diagrams and Euler's classical identities
Master the elegant mathematics behind one of number theory's most fascinating topics.
253 pages12 chaptersOct 30, 2025Number Theory
About this book
Integer partitions—the ways of writing a positive integer as a sum of positive integers—reveal patterns and structures that have captivated mathematicians for centuries. This comprehensive guide takes you from fundamental definitions through classical results to modern developments, building your understanding systematically while maintaining mathematical rigor. You'll explore generating functions that transform partition problems into tractable algebraic forms, discover visual tools like Ferrers diagrams that illuminate hidden symmetries, and encounter the profound identities discovered by Euler, Ramanujan, and Rogers. Each concept is presented with clear explanations, worked examples, and connections to broader mathematical themes. Whether you're strengthening your foundation in combinatorics, preparing for advanced study, or simply curious about the beautiful patterns within integers, this book provides the depth and clarity you need. You'll gain practical techniques for solving partition problems, understand the asymptotic behavior of partition functions, and appreciate how this classical subject connects to modern areas like modular forms and q-series. By the end, you'll possess both the theoretical knowledge and problem-solving skills to engage confidently with partition theory.
Table of contents
- IntroductionWhat Are Integer Partitions?, Historical Context and Development, Why Study Partitions?, How to Use This BookRead below
- Chapter 1: Foundations of Partition TheoryBasic Definitions and Notation, The Partition Function p(n), Computing Partitions for Small Values
- Chapter 2: Visual Representations and DiagramsFerrers Diagrams and Their Properties, Conjugate Partitions and Duality, Young Tableaux and Their Applications
- Chapter 3: Generating Functions for PartitionsIntroduction to Generating Functions, Euler's Product Formula, Manipulating Generating Functions, Applications to Partition Identities
- Chapter 4: Restricted PartitionsPartitions into Distinct Parts, Partitions into Odd Parts, Euler's Theorem on Distinct and Odd Partitions
- Chapter 5: Euler's Contributions to Partition TheoryThe Pentagonal Number Theorem, Recurrence Relations for p(n), Other Euler Identities
- Chapter 6: Asymptotic Analysis of PartitionsThe Growth of p(n), The Hardy-Ramanujan Asymptotic Formula, Introduction to the Circle Method
- Chapter 7: Ramanujan's CongruencesThe Famous Congruences Modulo 5, 7, and 11, Proving Ramanujan's Congruences, Further Congruence Properties
- Chapter 8: The Rogers-Ramanujan IdentitiesStatement of the Identities, Combinatorial Interpretation, Proof Techniques and Approaches
- Chapter 9: Partition Inequalities and ComparisonsComparing Different Partition Functions, Unimodality and Log-Concavity, Rank and Crank Statistics
- Chapter 10: q-Series and Partition TheoryBasic q-Series Notation and Identities, Jacobi's Triple Product Identity, Theta Functions and Partitions
- Chapter 11: Connections to Modular FormsIntroduction to Modular Forms, The Dedekind Eta Function, The Partition Function as a Modular Form
- Chapter 12: Applications and ExtensionsPartitions in Statistical Mechanics, Connections to Representation Theory, Modern Research Directions
- ConclusionKey Takeaways, Continuing Your Journey in Partition Theory
- Further Reading
- Glossary
Introduction
Mathematics often reveals its deepest beauty in the simplest questions. Consider this: in how many ways can you write the number 5 as a sum of positive integers? You might list 5, 4+1, 3+2, 3+1+1, 2+2+1, 2+1+1+1, and 1+1+1+1+1. That gives seven distinct ways. This seemingly elementary counting problem opens the door to partition theory, a rich mathematical landscape where combinatorics, number theory, and analysis converge in unexpected and profound ways. The study of integer partitions has captivated mathematicians for centuries, from Euler's pioneering investigations in the 18th century to Ramanujan's astonishing discoveries in the early 20th century, and continues to inspire active research today.
What makes partition theory remarkable is not merely the elegance of its central questions, but the surprising depth and interconnectedness of its answers. A problem that begins with simple arithmetic quickly leads to generating functions, infinite products, asymptotic analysis, and connections to modular forms. The partition function—which counts the number of partitions of each positive integer—exhibits patterns that seem almost miraculous: congruences that appear without obvious reason, asymptotic formulas of stunning precision, and identities that link seemingly unrelated combinatorial objects. These discoveries reveal that partitions are not isolated curiosities but fundamental structures woven into the fabric of mathematics itself.
This book invites you on a comprehensive journey through partition theory, designed for those who already possess a solid foundation in mathematics and wish to explore this beautiful subject in depth. You will encounter classical results that have stood the test of time, learn powerful techniques for analyzing partition functions, and discover connections that extend far beyond the original questions. Whether your interest lies in pure combinatorics, analytic number theory, or the applications of partition theory to other fields, you will find material here that challenges, enlightens, and inspires. The path ahead requires patience and engagement, but the rewards—a deeper understanding of mathematical structure and the satisfaction of grasping profound ideas—are well worth the effort.
What Are Integer Partitions?
An integer partition of a positive integer n is a way of writing n as a sum of positive integers, where the order of the summands does not matter. More formally, a partition of n is a sequence of positive integers λ₁, λ₂, ..., λₖ such that λ₁ + λ₂ + ... + λₖ = n and λ₁ ≥ λ₂ ≥ ... ≥ λₖ. The integers λᵢ are called the parts of the partition. By convention, we write partitions in non-increasing order to ensure uniqueness: each partition corresponds to exactly one such sequence. This simple definition conceals extraordinary complexity and beauty, as the number of partitions grows rapidly with n and exhibits intricate patterns that mathematicians continue to explore.
Let's examine concrete examples to build intuition. The number 4 has exactly five partitions:
- 4 (one part)
- 3 + 1 (two parts)
- 2 + 2 (two parts of equal size)
- 2 + 1 + 1 (three parts)
- 1 + 1 + 1 + 1 (four parts)
The partition function, denoted p(n), counts the number of partitions of n. From our examples, we have p(4) = 5 and p(6) = 11. By convention, we define p(0) = 1, representing the empty partition (the unique way to partition zero using no parts). This convention proves essential for the algebraic manipulations we'll encounter later. The partition function grows remarkably quickly: p(10) = 42, p(20) = 627, p(50) = 204,226, and p(100) = 190,569,292. Understanding this growth—both its precise asymptotic behavior and its subtle arithmetic properties—forms a central theme of partition theory.
Partitions can be classified and restricted in numerous ways, each leading to interesting mathematical questions. We might consider partitions into distinct parts, where no part appears more than once, or partitions into odd parts, where every part is an odd number. We can study partitions with restrictions on the number of parts, the size of the largest part, or more complex conditions. Each restriction defines a new counting function and often reveals unexpected relationships. For instance, one of Euler's most celebrated results states that the number of partitions of n into distinct parts equals the number of partitions of n into odd parts—a non-obvious connection that we'll explore in detail.
The notation and terminology of partition theory have evolved to facilitate precise communication. We often write a partition using exponential notation: instead of writing 3+2+2+1+1+1, we write 3¹2²1³, indicating one part of size 3, two parts of size 2, and three parts of size 1. The length of a partition is the number of parts it contains, while the largest part is simply the first (largest) element in the non-increasing sequence. These concepts allow us to formulate precise statements about partition properties and to develop systematic methods for counting and analyzing partitions.
Understanding partitions requires both combinatorial intuition and algebraic facility. On one hand, partitions are concrete objects that we can enumerate, visualize, and manipulate directly. On the other hand, the most powerful results in partition theory emerge from algebraic techniques—particularly generating functions—that transform combinatorial questions into problems about infinite series and products. This duality between the discrete and the continuous, between counting and analysis, gives partition theory its distinctive character and power. As you progress through this book, you'll develop fluency in moving between these perspectives, using whichever approach best illuminates the problem at hand.
The study of partitions also connects naturally to other areas of combinatorics. Partitions appear in the theory of symmetric functions, where they index bases for important vector spaces. They play a crucial role in representation theory, where they classify irreducible representations of symmetric groups. They arise in the study of plane partitions, tableaux, and other combinatorial structures. Even in applied contexts—from statistical mechanics to computer science—partition-like structures emerge as natural ways to organize and count configurations. This book focuses primarily on the number-theoretic aspects of partitions, but you'll encounter glimpses of these broader connections throughout.
Historical Context and Development
The systematic study of integer partitions began in earnest with Leonhard Euler in the 18th century, though earlier mathematicians had encountered partition-like problems in various contexts. Euler's groundbreaking work established partition theory as a distinct subject worthy of investigation. In his 1748 work Introductio in analysin infinitorum, Euler introduced generating functions as a tool for studying partitions and discovered the fundamental product formula that bears his name. He proved remarkable identities, including the theorem equating partitions into distinct parts with partitions into odd parts, and developed the pentagonal number theorem—a result that continues to fascinate mathematicians today. Euler's approach, combining combinatorial insight with algebraic manipulation, set the template for much of the subsequent development of partition theory.
After Euler, partition theory developed gradually through the 19th century, with contributions from mathematicians including Jacobi, Cayley, and Sylvester. James Joseph Sylvester introduced graphical representations of partitions in the 1850s, developing what we now call Ferrers diagrams (named after Norman Macleod Ferrers, who popularized them). These visual tools transformed how mathematicians thought about partitions, making symmetries and dualities immediately apparent. Sylvester also coined much of the terminology still used today and explored connections between partitions and other areas of mathematics. The 19th century also saw the development of the theory of elliptic functions and modular forms, which would later prove intimately connected to partition theory, though these connections were not fully appreciated at the time.
The early 20th century witnessed a revolution in partition theory, driven primarily by the extraordinary work of Srinivasa Ramanujan. Working initially in isolation in India, Ramanujan discovered astonishing patterns in the partition function that seemed to emerge from nowhere. His famous congruences—such as p(5n + 4) ≡ 0 (mod 5)—revealed that the partition function possesses deep arithmetic structure. In collaboration with G.H. Hardy at Cambridge, Ramanujan developed an asymptotic formula for p(n) of remarkable precision, using a technique now known as the circle method. This formula not only gave accurate approximations for large n but also explained the existence of the congruences through the theory of modular forms[1].
Ramanujan's work also brought attention to the Rogers-Ramanujan identities, originally discovered by Leonard James Rogers in 1894 but largely overlooked until Ramanujan rediscovered them independently. These identities connect partitions with specific restrictions to infinite q-series in ways that seem almost magical. They state, for instance, that the number of partitions of n into parts that differ by at least 2 equals the number of partitions of n into parts congruent to 1 or 4 modulo 5. The proof and generalization of these identities became a major research program, leading to the development of new techniques in q-series and combinatorics. The Rogers-Ramanujan identities exemplify how partition theory reveals unexpected connections between different mathematical structures.
The mid-20th century saw partition theory mature into a sophisticated field with connections to many areas of mathematics. Freeman Dyson introduced the concepts of rank and crank of a partition in attempts to explain Ramanujan's congruences combinatorially. The rank, defined as the largest part minus the number of parts, provided a partial explanation, while the crank (discovered later by Andrews and Garvan) gave a complete combinatorial interpretation. Mathematicians including George Andrews, Basil Gordon, and Richard Askey developed the theory of basic hypergeometric series, providing a unified framework for many partition identities. The connection between partitions and modular forms was made rigorous and explicit, revealing partition theory as a bridge between combinatorics and analytic number theory.
Recent decades have witnessed an explosion of activity in partition theory, driven by new techniques and unexpected applications. Computer algebra systems have enabled the discovery of new identities and congruences through experimental mathematics. The theory of mock theta functions—mysterious objects introduced by Ramanujan in his last letter to Hardy—was finally understood and connected to harmonic Maass forms, opening new research directions. Partition theory has found applications in statistical mechanics, particularly in the study of phase transitions and exactly solvable models. The field continues to attract researchers from diverse mathematical backgrounds, united by the beauty and depth of partition-theoretic questions.
Today, partition theory stands as a vibrant area of research with many open problems and active investigations. Questions about the distribution of partition statistics, the existence of further congruences, and the connections to other areas of mathematics continue to drive research. The development of new computational tools has made it possible to explore partitions of much larger numbers and to test conjectures that would have been inaccessible to earlier generations. Yet despite centuries of study, partition theory retains the capacity to surprise: new identities emerge, unexpected patterns appear, and connections to other fields continue to be discovered. This ongoing vitality makes partition theory an exciting subject for both historical study and contemporary research.
Why Study Partitions?
The study of integer partitions offers rewards on multiple levels, from the purely aesthetic to the practically applicable. At the most fundamental level, partition theory exemplifies mathematical beauty: simple definitions leading to profound results, unexpected connections between disparate ideas, and patterns that seem to emerge from the structure of mathematics itself. The elegance of results like Euler's theorem on distinct and odd partitions, or the precision of the Hardy-Ramanujan asymptotic formula, provides intellectual satisfaction that transcends any particular application. For many mathematicians, this intrinsic beauty justifies the study of partitions without need for further motivation. The subject rewards careful thought with insights that feel both surprising and inevitable once understood.
From a pedagogical perspective, partition theory serves as an ideal training ground for developing mathematical maturity and technique. Working with partitions requires facility with multiple mathematical tools:
- Combinatorial reasoning: counting arguments, bijections, and recursive constructions
- Algebraic manipulation: working with generating functions, infinite series, and products
- Analytic techniques: asymptotic analysis, complex analysis, and the circle method
- Number-theoretic insight: congruences, modular arithmetic, and divisibility properties
Partition theory also provides a concrete context for understanding abstract mathematical structures. Generating functions, for instance, can seem like formal manipulations divorced from meaning when first encountered. In partition theory, generating functions have clear combinatorial interpretations: coefficients count partitions, and algebraic operations correspond to natural operations on partition sets. This concreteness makes abstract concepts tangible and builds intuition that applies far beyond partitions. Similarly, the connection between partitions and modular forms illustrates how discrete objects can be studied using continuous methods, bridging the gap between different mathematical worlds. These conceptual insights have value that extends well beyond the specific results about partitions.
The historical development of partition theory offers lessons about mathematical discovery and creativity. Euler's initial investigations show how systematic exploration of examples can reveal patterns worthy of proof. Ramanujan's discoveries demonstrate the power of intuition and pattern recognition, even in the absence of rigorous proof. The subsequent work of Hardy, Rademacher, and others illustrates how intuitive discoveries can be made rigorous through careful analysis. By studying this history, you gain insight into the mathematical process itself: how conjectures arise, how proofs are constructed, and how understanding deepens over time. This meta-mathematical perspective enriches your appreciation of mathematics as a human endeavor, not merely a collection of theorems.
Beyond pure mathematics, partition theory has found applications in several areas of science and engineering. In statistical mechanics, partitions arise naturally in the study of energy distributions and phase transitions. The partition function of statistical mechanics (a different but related concept) counts the number of ways energy can be distributed among particles, leading to direct connections with integer partitions. In representation theory, partitions index irreducible representations of symmetric groups and general linear groups, making them fundamental to understanding symmetry in mathematics and physics. In combinatorial optimization, partition problems appear in scheduling, resource allocation, and other practical contexts. While this book focuses on the mathematical theory, awareness of these applications provides additional motivation and context.
Partition theory also serves as a gateway to several active areas of contemporary mathematical research. The study of q-series and basic hypergeometric functions grew largely from partition-theoretic questions and continues to develop in dialogue with partition theory. The theory of modular forms and mock modular forms has been enriched by partition-theoretic examples and questions. Additive number theory, which studies representations of integers as sums, includes partition theory as a central special case. By mastering partition theory, you position yourself to engage with these broader research areas and to appreciate connections that might otherwise remain obscure. The subject provides both a destination in itself and a launching point for further exploration.
Finally, partition theory offers the satisfaction of working with a subject that is simultaneously accessible and deep. Unlike some areas of mathematics that require years of preparation before meaningful problems can be approached, partition theory allows engagement at multiple levels. Elementary questions about small partitions can be explored with minimal background, while the deepest results challenge even expert mathematicians. This accessibility makes partition theory suitable for independent study and exploration, while its depth ensures that there is always more to learn. Whether you approach partitions as a student building foundations, a researcher seeking new results, or an enthusiast pursuing mathematical beauty, you will find questions appropriate to your level and interests. This combination of accessibility and depth makes partition theory a particularly rewarding subject for sustained study.
How to Use This Book
This book is designed as a comprehensive guide to partition theory, progressing systematically from foundational concepts through classical results to connections with advanced topics. The structure assumes you have solid preparation in undergraduate mathematics, including comfort with mathematical proof, familiarity with basic number theory and combinatorics, and some exposure to complex analysis. If you encounter unfamiliar concepts, don't hesitate to consult additional references or review prerequisite material. The book aims for completeness in its coverage of partition theory itself, but necessarily builds on mathematical foundations established elsewhere. Your engagement and active problem-solving will determine how much you gain from the material presented.
The chapters are organized to build understanding progressively, with each chapter depending on material from earlier chapters. The recommended approach is to work through the book sequentially, at least on first reading:
- Chapters 1-2 establish foundations: definitions, notation, and visual representations that will be used throughout
- Chapters 3-5 develop core techniques: generating functions, restricted partitions, and Euler's fundamental results
- Chapters 6-8 explore deeper results: asymptotic analysis, Ramanujan's congruences, and the Rogers-Ramanujan identities
- Chapters 9-11 examine advanced topics: partition inequalities, q-series, and connections to modular forms
- Chapter 12 surveys applications and modern research directions
Each chapter combines exposition, examples, and implicit exercises in the form of claims you should verify. When you encounter a statement like "it follows that" or "one can show," pause to work through the details yourself before continuing. This active engagement transforms passive reading into active learning and builds the problem-solving skills essential for mathematical mastery. Keep paper and pencil handy to work through calculations, verify identities, and explore examples. Many insights in partition theory come from computing specific cases and observing patterns, so don't skip the computational work. The examples provided are not merely illustrations but opportunities to develop intuition and technique.
The book employs standard mathematical notation, which is summarized here for reference:
p(n)denotes the partition function (number of partitions of n)qtypically represents a formal variable in generating functions and q-series(a; q)_ndenotes the q-Pochhammer symbol: (1-a)(1-aq)(1-aq²)···(1-aq^(n-1))[n]_qdenotes the q-analog of n: (1-q^n)/(1-q)- Greek letters λ, μ, ν typically denote partitions
- Subscripts on partition symbols (λ₁, λ₂, ...) denote the parts in non-increasing order
The book includes footnotes citing key historical papers and modern references. These citations serve multiple purposes: they acknowledge the original discoverers of results, they provide entry points for deeper study, and they illustrate the historical development of ideas. You need not consult these references to understand the material presented, but doing so will enrich your appreciation of the subject and provide models of mathematical exposition. Many of the cited papers are classics worth reading both for their mathematical content and for their style. The "Further Reading" section at the end of the book provides annotated recommendations for continuing your study beyond this volume.
As you work through the book, you may find it helpful to maintain a personal notebook of key results, techniques, and insights. Partition theory involves many identities and formulas, and having a organized reference of important results aids retention and application. Consider creating your own examples, exploring variations of stated results, and attempting to prove results before reading the provided proofs. This active engagement deepens understanding and develops the independence necessary for mathematical research. The goal is not merely to understand the results presented but to develop the ability to discover and prove new results yourself.
Different readers will approach this book with different backgrounds and goals. If you are an undergraduate student, you might use this book as a supplement to a course in combinatorics or number theory, or as the basis for independent study. Work through the material carefully, ensuring you understand each step before proceeding. If you are a graduate student, you might read more quickly through foundational material while spending more time on advanced chapters and connections to your research area. If you are a researcher in a related field, you might use this book as a reference for specific results or as an introduction to partition-theoretic techniques that could apply to your work. Regardless of your background, approach the material with curiosity and patience, allowing time for ideas to develop and connections to become clear.
Finally, remember that mathematics is best learned actively, not passively. Reading mathematical exposition is necessary but not sufficient for understanding. You must work through examples, verify claims, attempt exercises, and struggle with difficult concepts. This struggle is not a sign of inadequacy but an essential part of learning. When you find a section challenging, persist: reread, work examples, consult other sources, and give yourself time to absorb the ideas. The rewards of understanding—the satisfaction of grasping a beautiful proof, the excitement of seeing unexpected connections, the confidence of mastering powerful techniques—justify the effort required. Approach this book as an invitation to engage deeply with a beautiful subject, and you will find the journey both challenging and deeply rewarding.
Notes
Introduction
- 1. G. H. Hardy and S. Ramanujan, "Asymptotic Formulae in Combinatory Analysis," Proceedings of the London Mathematical Society, s2-, 1918
This is the end of the free sample. The full book has 12 chapters.
Want this book written for you?
Tell us your goals and background, and get your own version of this book, tailored by AI to you.
Benefits of AI-tailored books
- Read one book, not ten:
- all the Number Theory knowledge you need, gathered into a single book.
- Save days of learning:
- tell us your goals, choose your topics, and the whole book is built around them.
- Learn effortlessly:
- Number Theory book written for your specific background and expertise.
- Understand at a glance:
- includes charts, tables, timelines, checklists, decision trees, and more.
- Stay current:
- written the day you order it, not years ago.
- Trust what you read:
- every book is checked for accuracy, with real research when your subject needs it.
Create your unique book in 3 steps
- 1. Select your focus
Select the focus of your Number Theory book and share your background
- 2. Personalize your book
Specify your goals and choose sub-topics to include
- 3. Get your tailored book
Your book is ready in 10 minutes. Read it online, download as EPUB or PDF, or send to Kindle.
Frequently asked questions
- What is TailoredRead?
TailoredRead creates complete, full-length nonfiction ebooks, written specifically for you. Tell us what you want to learn and why, and TailoredRead writes you a complete ebook on it, with charts, tables, and diagrams throughout. Read it online, on Kindle, or on any e-reader, or download it as a PDF or EPUB. Every book is written fresh the day you order it.
- How is the book tailored to me?
Before anything is written, you answer a few short questions about your goals, your background, and the topics you care about. Your book is then planned around your answers: written at your level, focused on your goals, and covering the topics you chose, instead of the one-size-fits-all book a store sells everyone.
- Will it read like generic AI content?
No. Your book isn't a chat transcript: it's planned chapter by chapter before a single word is written, told in a clear book voice, and explains ideas visually with charts, tables, and diagrams. After writing, every book goes through an editorial pass that polishes chapters so the book reads consistent from start to finish. Judge for yourself: browse thousands of sample books on our Explore Books page.
- How accurate is the content?
Our AI first checks whether your subject needs live research. Niche and fast-moving subjects are researched before writing, and the book plan and chapters are grounded in what it finds. After writing, every book goes through a quality pass that checks its facts and consistency, and researched books list their sources in a Notes section at the back.
- How long is the book?
You choose the length: Comprehensive (250-300 pages), Detailed (150-200 pages), Essential (70-100 pages), or Short (30-50 pages).
- Does the book include visuals?
Yes. Every book includes charts, tables, and diagrams: timelines, checklists, step-by-step guides, decision trees, comparison tables, matrices, and bar charts. A typical book includes dozens of these visual elements.
- Can I read it on Kindle? What formats can I download?
Yes. Every book can be read in our online reader or downloaded as a PDF or EPUB. The EPUB can be opened with Kindle, Apple Books, Kobo, and any e-reader. The Commercial and Author licenses also include an editable Word (DOCX) and Markdown download.
- How much does it cost?
About the price of a regular ebook. The exact price depends on your book's length and complexity, from $2 for the shortest books to $35 for the most comprehensive, and it's shown when you review your book, before you commit to anything. Each book is a one-time purchase, yours to keep, no subscription. Licenses that let you share, teach, or publish your book range from $35.99 to $49.99.
- Can I preview the book before purchasing?
Before you pay, you'll see what your book will cover: the title, a detailed description, the estimated length, and the complete chapter-by-chapter table of contents, so you know what you're getting before you decide. The full text itself is written after you purchase.
- How long does it take to create a book?
About 10 minutes. You can start reading the opening chapters while the rest is still being written.


