English

Integer partitions detect the primes

Number Theory 2024-07-11 v2 Combinatorics

Abstract

We show that integer partitions, the fundamental building blocks in additive number theory, detect prime numbers in an unexpected way. Answering a question of Schneider, we show that the primes are the solutions to special equations in partition functions. For example, an integer n2n\geq 2 is prime if and only if (3n313n2+18n8)M1(n)+(12n2120n+212)M2(n)960M3(n)=0, (3n^3 - 13n^2 + 18n - 8)M_1(n) + (12n^2 - 120n + 212)M_2(n) -960M_3(n) = 0, where the Ma(n)M_a(n) are MacMahon's well-studied partition functions. More generally, for "MacMahonesque" partition functions Ma(n),M_{\vec{a}}(n), we prove that there are infinitely many such prime detecting equations with constant coefficients, such as 80M(1,1,1)(n)12M(2,0,1)(n)+12M(2,1,0)(n)+12M(1,3)(n)39M(3,1)(n)=0. 80M_{(1,1,1)}(n)-12M_{(2,0,1)}(n)+12M_{(2,1,0)}(n)+\dots-12M_{(1,3)}(n)-39M_{(3,1)}(n)=0.

Keywords

Cite

@article{arxiv.2405.06451,
  title  = {Integer partitions detect the primes},
  author = {William Craig and Jan-Willem van Ittersum and Ken Ono},
  journal= {arXiv preprint arXiv:2405.06451},
  year   = {2024}
}

Comments

Revision that correct a few minor typos caught by referees

R2 v1 2026-06-28T16:23:12.192Z