OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..500
Index entries for linear recurrences with constant coefficients, signature (10,-30,40,-25,6).
FORMULA
G.f.: (-1 - 7*x^4 - 19*x^3 - 8*x^2 + 5*x)/((6*x-1)*(x-1)^4). - Maksym Voznyy (voznyy(AT)mail.ru), Jul 26 2009
MATHEMATICA
Table[6^n-n^3, {n, 0, 20}] (* Harvey P. Dale, Jun 15 2019 *)
PROG
(Magma) [6^n-n^3: n in [0..25]]; // Vincenzo Librandi, Jul 03 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved