[go: up one dir, main page]

login
A024065
a(n) = 6^n - n^3.
2
1, 5, 28, 189, 1232, 7651, 46440, 279593, 1679104, 10076967, 60465176, 362795725, 2176780608, 13060691819, 78364161352, 470184981201, 2821109903360, 16926659439823, 101559956662584, 609359740003637
OFFSET
0,2
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
Sequence in context: A070779 A189487 A367049 * A003467 A240770 A318364
KEYWORD
nonn,easy
STATUS
approved