← Back to arXiv
arXivNumber TheoryarXiv:2609.32033

Efficient Computation and Congruences for Colored Partition Functions

The paper is about counting the number of ways to break a positive integer into smaller pieces, a classical topic in mathematics known as partition theory. Specifically, it studies "colored partitions," where each piece can be assigned one of a fixed number of colors. The authors focus on an exact formula for computing these counts, which works for any number of colors but becomes computationally expensive when the number of colors is large because it involves complicated mathematical objects called exponential sums.

The main technical contribution is showing that these exponential sums have a useful multiplicative structure, meaning their behavior for composite numbers can be broken down into simpler pieces involving well-understood objects called Kloosterman sums. This is significant because it turns a difficult and seemingly ad hoc computation into something systematic and efficient. The authors also derive careful error bounds so that the formula can be truncated after finitely many terms while still guaranteeing an exact integer result.

The practical payoff is striking. Using their approach implemented in the mathematical software SageMath, they compute an exact integer answer for the number of 100-colored partitions of 10 billion. That number has over a million digits and was produced in under an hour, which would be infeasible with previous methods. They then use this computational power to discover and verify new "Ramanujan-type congruences," which are surprising patterns where partition counts are always divisible by some fixed number under certain conditions on the input. These congruences are the kind of elegant arithmetic regularities that have fascinated mathematicians since Ramanujan first noticed them over a century ago.

Read original →