OFFSET
2,1
COMMENTS
This is r(n,2,2) 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 Eq. (15), page 188.
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
a(n) = n+15 for n >= 5.
EXAMPLE
a(2) = 50 = 1+49 = 25+25.
a(3) = 27 = 1+1+25 = 9+9+9.
a(5) = 20 = 1+1+1+1+16 = 4+4+4+4+4.
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Apr 03 2021
STATUS
approved