OFFSET
2,1
COMMENTS
This is r(n,2,3) in Alter's notation.
LINKS
R. Alter, Computations and generalizations on a remark of Ramanujan, pp. 182-196 of "Analytic Number Theory (Philadelphia, 1980)", ed. M. I. Knopp, Lect. Notes Math., Vol. 899, 1981. See Table 6, page 191.
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
a(n) = n + 24 for n >= 4.
EXAMPLE
a(2) = 325 = 1^2 + 18^2 = 6^2 + 17^2 = 10^2 + 15^2.
a(3) = 54 = 1^2 + 2^2 + 7^2 = 2^2 + 5^2 + 5^2 = 3^2 + 3^2 + 6^2.
CROSSREFS
KEYWORD
nonn
AUTHOR
Sean A. Irvine, Apr 04 2021
STATUS
approved