OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
G.f.: (3 - 8*x + 13*x^2 - 2*x^3)/(1 - x)^4. - Vincenzo Librandi, Jun 10 2016
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4) for n>3. - Vincenzo Librandi, Jun 10 2016
Sum_{n>=0} (-1)^n/a(n) = A371802. - R. J. Mathar, Apr 24 2024
MATHEMATICA
f[n_]:=n^3 + 3; f[Range[0, 60]] (* Vladimir Joseph Stephan Orlovsky, Feb 14 2011*)
PROG
(PARI) n3pm(n, m) = { for(x=1, n, y=x^3+m; print1(y" ")) }
(Magma) [n^3+3: n in [0..50]]; // Vincenzo Librandi, Jun 10 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Cino Hilliard, Jun 23 2003
EXTENSIONS
Offset 0 and a(0) = 3 from Vincenzo Librandi, Jun 10 2016
STATUS
approved