OFFSET
0,2
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.: (1 + 2193*x + 6843*x^2 + 1331*x^3)/(1-x)^4. - Vincenzo Librandi, May 26 2016
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4), for n>3. - Vincenzo Librandi, May 26 2016
MATHEMATICA
Table[(12 n + 1)^3, {n, 0, 50}] (* Vincenzo Librandi, May 26 2016 *)
PROG
(Maxima) makelist( (12*n+1)^3 , n, 0, 30); /* Martin Ettl, Oct 21 2012 */
(Magma) [(12*n + 1)^3: n in [0..40]]; // Vincenzo Librandi, May 26 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved