EN
Let q ∈ ℂ satisfy |q| < 1. If $f(q) = ∑_{n=0}^{∞} f_n q^n$ we write $[f(q)]_n = f_n$. We prove a general product-to-sum formula which includes known formulae such as
$[q∏_{k=1}^{∞} (1-q^{2k})^3 (1-q^{6k})^3 _n = ∑_{{(x_1,x_2)∈ ℤ^2 \atop x_1^2+3x_2^2=n}} 1/2(x_1^2-3x_2^2)$
and
$[q∏_{k=1}^{∞}(1-q^{4k})^6]_n = ∑_{{(x_1,x_2)∈ ℤ^2 \atop x_1^2+4x_2^2=n}} 1/2(x_1^2-4x_2^2).