Journal of Integer Sequences, Vol. 26 (2023), Article 23.2.5

Sums of Squares, Triangular Numbers, and Divisor Sums

G. E. Andrews
Department of Mathematics
Pennsylvania State University
University Park, PA 16802

Sumit Kumar Jha
310, CS-Luxurio

J. López-Bonilla
Instituto Politécnico Nacional
Edif. 4, 1er. Piso
Col. Lindavista
07738 Ciudad de México


We prove a general theorem that can be used to derive recurrences for familiar arithmetic functions such as rk(n) and tk(n), the number of representations of n as a sum of k squares and k triangular numbers, respectively.

Full version:  pdf,    dvi,    ps,    latex    

(Concerned with sequences A000041 A000118.)

Received October 15 2022; revised versions received October 16 2022; February 9 2023; February 12 2023; February 25 2023. Published in Journal of Integer Sequences, February 25 2023.

Return to Journal of Integer Sequences home page