Partition functions that repel perfect-powers
34
Example 2. If B = 3, then we have
X
1
P3(q) =
=
p3(n)qn,
(1 − q)(1 − q2)(1 − q3)
n≥0
Along each residue class n ≡ r (mod 6), we have
p3(6t + r) = Qr(t) (t ∈ Z≥0),
where the six quadratic polynomials Qr ∈ Z[t] are
Q0(t) = 3t2 + 3t + 1,
Q1(t) = 3t2 + 4t + 1,
Q2(t) = 3t2 + 5t + 2,
Q3(t) = 3t2 + 6t + 3,
Q4(t) = 3t2 + 7t + 4,
Q5(t) = 3t2 + 8t + 5.
For r ∈ {0, 1, 4, 5}, there are infinitely many t ≥ 0 such that Qr(t) is a
perfect square. Consequently, p3(n) is a square for infinitely many n in each
of the residue classes r ∈ {0, 1, 4, 5} (mod 6). Each diophantine equation
Qr(t) = m2 reduces to a Pell-type equation in (x, m) with discriminant 12
after completing the square in t.
(Case r = 0) From 3t2 + 3t + 1 = m2,
(6t + 3)2 − 12m2 = −3.
This is the negative Pell equation x2 − 12m2 = −3 (with x = 6t + 3), which
has infinitely many integer solutions. For instance, starting with (x, m) =
√
(3, 1) and multiplying by the fundamental unit 7 + 2 12 yields an infinite
family. The first few t are 0, 7, 104, 1455, . . ., giving
p3(6t) ∈ {1, 132, 1812, 25212, . . .}.
(Case r = 1) From 3t2 + 4t + 1 = m2,
(6t + 4)2 − 12m2 = 4.
The Pell-type equation x2 − 12m2 = 4 has infinitely many solutions; e.g.
t = 0, 8, 120, 1680, . . . produce p3(6t + 1) = 1, 152, 2092, 29112, . . ..
(Case r = 4) From 3t2 + 7t + 4 = m2,
(6t + 7)2 − 12m2 = 1,
the (positive) Pell equation with fundamental solution (x, m) = (7, 2), hence
infinitely many solutions. We obtain t = 0, 15, 224, . . . and p3(6t + 4) =
22, 282, 3902, . . ..