OFFSET
3,1
COMMENTS
This is r(n,3,4) 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 11, page 194.
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
a(n) = n + 152 for n >= 19.
EXAMPLE
a(3) = 13896 = 1^3 + 12^3 + 23^3 = 2^3 + 4^3 + 24^3 = 4^3 + 18^3 + 20^3 = 9^3 + 10^3 + 23^3.
a(4) = 1979 = 1^3 + 5^3 + 5^3 + 12^3 = 2^3 + 3^3 + 6^3 + 12^3 = 5^3 + 5^3 + 9^3 + 10^3 = 6^3 + 6^3 + 6^3 + 11^3.
MATHEMATICA
LinearRecurrence[{2, -1}, {13896, 1979, 1252, 626, 470, 256, 224, 225, 226, 227, 221, 222, 223, 203, 204, 205, 171, 172}, 60] (* Harvey P. Dale, Aug 06 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Sean A. Irvine, Apr 04 2021
STATUS
approved