OFFSET
1,1
LINKS
Colin Barker, Table of n, a(n) for n = 1..334
Index entries for linear recurrences with constant coefficients, signature (975,-975,1).
FORMULA
a(n) = 975*a(n-1)-975*a(n-2)+a(n-3) for n>3.
G.f.: 61*x*(5*x^2-487*x-4) / ((x-1)*(x^2-974*x+1)).
EXAMPLE
244 is in the sequence because (244+61)^3 - 244^3 = 3721^2.
MATHEMATICA
LinearRecurrence[{975, -975, 1}, {244, 267607, 260678620}, 15] (* Paolo Xausa, Mar 05 2024 *)
PROG
(PARI) Vec(61*x*(5*x^2-487*x-4)/((x-1)*(x^2-974*x+1)) + O(x^15))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Oct 30 2015
STATUS
approved