OFFSET
0,1
COMMENTS
See A259060. There may be other numbers with this property.
REFERENCES
W. SierpiĆski, 250 Problems in Elementary Number Theory, American Elsevier Publ. Comp., New York, PWN-Polish Scientific Publishers, Warszawa, 1970, Problem 227, p. 20 and p. 110.
LINKS
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
a(n) = (n+9)*(2*n^2 + 36*n + 357), n >= 0.
O.g.f.: (3213 - 8902*x + 8285*x^2 - 2584*x^3)/(1-x)^4.
a(n) = 4*a(n-1)-6*a(n-2)+4*a(n-3)-a(n-4). - Vincenzo Librandi, Aug 13 2015
MATHEMATICA
CoefficientList[Series[(3213 - 8902 x + 8285 x^2 - 2584 x^3)/(1 - x)^4, {x, 0, 50}], x] (* Vincenzo Librandi, Aug 13 2015 *)
PROG
(Magma) [(n+9)*(2*n^2 + 36*n + 357): n in [0..50]]; // Vincenzo Librandi, Aug 13 2015
(Magma) I:=[3213, 3950, 4807, 5796]; [n le 4 select I[n] else 4*Self(n-1)-6*Self(n-2)+4*Self(n-3)-Self(n-4): n in [1..50]]; // Vincenzo Librandi, Aug 13 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wolfdieter Lang, Aug 12 2015
STATUS
approved