Integer partition counts alternate between even and odd across quadratic sequences
A geometric method based on modular curves shows that integer partition numbers along quadratic sequences must switch between even and odd totals infinitely often, according to a new mathematical preprint.

When mathematicians split a positive whole number into a sum of smaller positive integers, the number of distinct arrangements grows with staggering speed. For the number four, there are exactly five ways to write the sum: four itself, three plus one, two plus two, two plus one plus one, and four ones added together.1 The tally of these combinations is known as the partition function, denoted by p(n), and it forms one of the oldest counting problems in arithmetic. Yet despite centuries of study, the question of whether this total is even or odd for any given number remains one of the most stubborn mysteries in number theory.
The pattern of even and odd values looks almost entirely haphazard as numbers grow larger. In 1919, Srinivasa Ramanujan discovered that when numbers increase in regular steps of five, seven, or 11, their partition totals are always divisible by those respective numbers. But division by two obeys no such rigid periodic formula. For decades, researchers could not rule out the possibility that past a certain threshold, the partition function might settle down and produce only even numbers, or only odd ones, along specific structured sequences.
Now, a preprint posted to the arXiv server by mathematicians Ken Ono of the University of Virginia and Ashvin Swaminathan, alongside an appendix by Qi-Yang Zheng, resolves a longstanding conjecture about this parity across quadratic progressions.234 The paper shows that along carefully chosen quadratic sequences, the partition function never freezes into a single parity: it must take both even and odd values infinitely often.3 In doing so, the authors also establish an improved lower bound for the total number of odd partition values up to any large cutoff, lifting a longstanding theoretical ceiling.
Why is the parity of partition numbers so difficult to track?
The parity of partition numbers is difficult to track because addition preserves no simple multiplicative structure when partitions are counted across increasing integers. To determine whether a partition count is even or odd, one must evaluate how combinatorial pieces assemble into symmetric patterns, or how the coefficients of infinite generating series behave when reduced modulo 2. While divisibility by odd primes like five or seven creates clean cycles, divisibility by two collapses distinctions between positive and negative signs, erasing much of the algebraic structure that analysts typically rely on to prove regularity.
In 1967, T. R. Parkin and Daniel Shanks formulated a famous conjecture predicting that among all integers up to a large bound, the partition function lands on an even number half the time and an odd number the other half. Testing this prediction has proved exceedingly difficult because the partition function lacks an elementary formula that predicts its parity without calculating the entire count. For general linear progressions, known as arithmetic progressions of the form an plus b, Subbarao conjectured that infinitely many even and infinitely many odd partition counts must occur. Ken Ono proved the even case for all arithmetic progressions in 1996, and Cristian-Silviu Radu later completed the proof for odd values in 2012.2
Moving from linear formulas to quadratic formulas, where the input contains a squared term, introduces severe complications. For any non-constant integer-valued polynomial, Ono had conjectured that the partition function must oscillate between even and odd values infinitely often. Yet until now, almost nothing had been established for polynomials of degree 2 or higher, because the algebraic machinery used for straight linear steps fails to capture the rapidly widening gaps between consecutive squares.
Reflecting on that persistent boundary, Ken told Primary that "Twenty years ago Silviu Radu and I proved that parity switches infinitely often for all arithmetic progressions an+b (all linear forms). Apart from these linear forms and the quadratic progressions in this new paper, nothing is known for any other polynomial."

How do mathematicians translate partitions into geometry?
Mathematicians translate partitions into geometry by treating the partition function as the Fourier coefficients of modular forms and interpreting those forms as geometric objects living on algebraic curves.2 The generating series for partition numbers, which encodes the counts as an infinite sum, can be rewritten modulo 4 using Ramanujan's third-order mock theta function, a special function that captures modular behavior. By applying an automorphic lifting technique called the twisted Borcherds product, developed by Jan Hendrik Bruinier and Ono, the authors package these mock theta coefficients into a meromorphic function defined on a modular curve known as X 0 (6).4
This translation converts a numerical question about whole numbers into a question about the points where a geometric function becomes infinite. The poles of the logarithmic derivative of this Borcherds product are located at specific geometric locations called complex multiplication points, or CM points, which correspond to elliptic curves with exceptional internal symmetry. For a square-free integer D congruent to 23 modulo 24, the divisor of the Borcherds product splits cleanly into two distinct packets of CM points, each having discriminant negative D and containing a number of points equal to the class number of the imaginary quadratic field.
To determine whether the partition values along the quadratic progression could ever remain constantly even or constantly odd, the researchers examined the behavior of these poles under arithmetic reduction. The crucial breakthrough came from studying these geometric points in characteristic 2, the algebraic realm where two equals zero. By using the rigidity and uniqueness of canonical lifts, which govern how ordinary elliptic curves over finite fields lift back to characteristic zero, Ono and Swaminathan demonstrated that the CM points supporting the poles remain strictly distinct after reduction modulo 2.2
Ken explained to Primary that explaining why this geometric rigidity stops cancellation is subtle: "That's a tough one. The point is that very deep theories of Deligne and Rapoport constrain the possible cancellations in this setting, in a way that hadn't been noticed before."
Because the residues at these poles are units in the 2-adic numbers, the simple poles cannot cancel out or vanish when reduced modulo 2.23 If the partition values along the quadratic sequence were all even, the corresponding differential would have to vanish identically modulo 2, which contradicts the stubborn presence of surviving poles.23 Conversely, if all the partition values were odd, the differential would become congruent to a holomorphic Eisenstein series, a well-behaved modular form that possesses no poles at all.23 The surviving CM poles rule out both uniform scenarios, proving that the partition sequence must change parity infinitely often.
What does the result reveal about the density of odd partition counts?
The result reveals that the number of odd partition values up to any large bound X grows at least as fast as a constant multiple of the square root of X.3 In the paper's appendix, Qi-Yang Zheng applies the effective bounds established in the main theorem to average the appearance of the first odd partition term across different quadratic discriminants.3 This computation establishes that the count of odd partition numbers up to X is bounded below by a constant multiple of the square root of X, improving upon the previous best lower bound established by Joël Bellaïche, Ben Green, and Kannan Soundararajan, which had included a divisor of log log X.
Asked about how that bound came together, Ken told Primary that the rapid appearance of individual odd values was already known: "Actually no. I had already proved that these initial odd values must appear quickly. I had missed how to turn this observation into the improved bound. Zheng offered us the right kind of "averaging theorem"."
The theorem also provides explicit, effective upper bounds on where the first odd and even values must appear in each quadratic sequence. If h(-D) denotes the class number of the imaginary quadratic field with discriminant negative D, the paper shows that the smallest admissible integer producing an odd partition value is at most 12 times h(-D) plus two. A corresponding upper bound for the first even partition value multiplies this linear class-number factor by the product of l plus one over all prime divisors l of D. The algebraic identities underlying these theorems and the bound on odd partitions were formalized in the Lean theorem prover by AxiomProver.23

Ken confirmed to Primary that the formalized codebase is openly available, stating: "Yes. Our work is hosted on the new formalized math platform (started by Terry Tao and his colleagues) called Palomar."
What are the boundaries of these findings?
The new proof applies specifically to quadratic progressions of the form D times m squared plus one, all divided by 24, where D is a square-free integer congruent to 23 modulo 24 and m is coprime to six. It is a proof of infinite oscillation rather than a statistical proof of equal 50 percent density, meaning it does not settle the full Parkin-Shanks conjecture for all integers. Furthermore, the geometric survival of poles proves non-constancy directly, but turning that non-constancy into an infinite sequence of both parities relies on separate arithmetic propagation tools, including the local nilpotence of Hecke algebras and Galois representations that are specific to low levels like level six.
When asked about the challenge of carrying that propagation machinery to higher levels, Ken told Primary that "The Hecke nilpotency is false in most settings. We are lucky that it applies to the partition numbers."
Pushing the lower bound exponent beyond the square root of X also meets stubborn obstacles in modular forms. Ken noted to Primary that "At the end of the day, the partition numbers are related to modular forms, and regretably there are modular forms which literally obey the sqrt X bound. We don't yet know how to show that we're not in that setting."
The work also represents a theoretical result posted as a preprint on the arXiv server, meaning it has been made public for community evaluation prior to formal peer review in an academic journal.32 While the core algebraic identities have been verified through Lean formalization, extending the geometric technique to arbitrary polynomials of degree two or higher remains an open challenge. For general Borcherds products at higher levels, the nilpotence properties that propagate single parity instances into infinite families may not hold automatically.
Where does the mathematical investigation go next?
The success of combining twisted Borcherds products with characteristic 2 geometry provides a new blueprint for tackling parity questions across number theory. Researchers can now explore whether similar canonical lift arguments apply to other modular forms, generalized eta-quotients, and combinatorial sequences arising in partition theory. Understanding the distribution of partition values modulo other small primes, such as three, represents another major frontier where very little is currently proven.
Beyond partitions of ordinary integers, related questions remain open for partitions of elements in real quadratic fields, where mathematicians study additive decompositions of totally positive integers.16 The interplay between modular forms, algebraic curves, and formal computer verification demonstrated in this work suggests that geometric methods will continue to unlock long-standing combinatorial problems that resisted traditional analytic techniques for over a century.
This piece was prepared from the arXiv preprint and public records together with answers from Ken to 6 questions from the Primary news team, completed September 2026.
The record
28 sentences trace to 5 sources and 1 contributor.
- 1 Partitions in real quadratic fields Preprint · may not have been peer reviewed See the source
- 2 Parity of the partition function in quadratic progressions Preprint · may not have been peer reviewed See the source
- 3 Parity of the partition function in quadratic progressions Preprint · may not have been peer reviewed See the source
- 4 The partition function modulo 4 Preprint · may not have been peer reviewed See the source
- 5 Contribution — Ken Ono 7 statements added to this article
- 6 Partitions in real quadratic fields Preprint · may not have been peer reviewed See the source
Other consulted pages1 page
ar5iv.labs.arxiv.org2 pages
arxiv.org1 page
themoonlight.io1 page
Article history
-
Published 2 Dec 2026, 20:20Assembled by the Primary desk from 5 sources · 1 contributor · 28 cited sentences
-
Ken Ono, server by mathematicians
- Go to the sentence: Reflecting on that persistent boundary, Ken told Primary that "Twenty years ago Silviu Radu and I proved that parity switches infinitely often for all arithmetic progressions an+b (all linear forms). Apart from these linear forms and the quadratic progressions in this new paper, nothing is known for any other polynomial."
- Go to the sentence: Ken explained to Primary that explaining why this geometric rigidity stops cancellation is subtle: "That's a tough one. The point is that very deep theories of Deligne and Rapoport constrain the possible cancellations in this setting, in a way that hadn't been noticed before."
- Go to the sentence: Asked about how that bound came together, Ken told Primary that the rapid appearance of individual odd values was already known: "Actually no. I had already proved that these initial odd values must appear quickly. I had missed how to turn this observation into the improved bound. Zheng offered us the right kind of "averaging theorem"."
- Go to the sentence: Ken confirmed to Primary that the formalized codebase is openly available, stating: "Yes. Our work is hosted on the new formalized math platform (started by Terry Tao and his colleagues) called Palomar."
- Go to the sentence: When asked about the challenge of carrying that propagation machinery to higher levels, Ken told Primary that "The Hecke nilpotency is false in most settings. We are lucky that it applies to the partition numbers."
- Go to the sentence: Pushing the lower bound exponent beyond the square root of X also meets stubborn obstacles in modular forms.
- Go to the sentence: Ken noted to Primary that "At the end of the day, the partition numbers are related to modular forms, and regretably there are modular forms which literally obey the sqrt X bound. We don't yet know how to show that we're not in that setting."

