Mordell, L. J. “On Recurrence Formulae for the Number of Classes of Definite Binary Quadratic Forms”. The Journal of the Indian Mathematical Society, vol. 24, no. 3-4, Dec. 1960, pp. 367-78, doi:10.18311/jims/1960/16937.