OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
G.f.: (27 + 2089*x + 3541*x^2 + 343*x^3)/(x-1)^4. - R. J. Mathar, Mar 20 2018
MATHEMATICA
(10 Range[0, 30]+3)^3 (* or *) LinearRecurrence[{4, -6, 4, -1}, {27, 2197, 12167, 35937}, 30] (* Harvey P. Dale, Jul 05 2021 *)
PROG
(Magma) [(10*n+3)^3: n in [0..35]]; // Vincenzo Librandi, Jul 31 2011
(PARI) a(n) = (10*n + 3)^3; \\ Michel Marcus, Apr 14 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved