We present a proof of Jacobi’s formula for representation number for sums of two squares due to Michael D. Hirschhorn
Start with the Jacobi’s Triple Product identity
Plugging for
then
for
multiply by
and we obtain
Differentiating with and plugging
we get,
Divide by
which equals
to get
We also have
Therefore we established
Plugging in for
we get
Comparing the terms on both sides we proved
https://www.jstor.org/stable/2323282
https://doi.org/10.1080/00029890.1985.11971686