login
A024067
a(n) = 6^n - n^5.
2
1, 5, 4, -27, 272, 4651, 38880, 263129, 1646848, 10018647, 60366176, 362636005, 2176533504, 13060322723, 78363626272, 470184225201, 2821108858880, 16926658024879, 101559954778848, 609359737534397
OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (12, -51, 110, -135, 96, -37, 6).
FORMULA
a(0)=1, a(1)=5, a(2)=4, a(3)=-27, a(4)=272, a(5)=4651, a(6)=38880, a(n)=12*a(n-1)-51*a(n-2)+110*a(n-3)-135*a(n-4)+96*a(n-5)- 37*a(n-6)+ 6*a(n-7). - Harvey P. Dale, Apr 08 2015
MATHEMATICA
Table[6^n-n^5, {n, 0, 20}] (* or *) LinearRecurrence[{12, -51, 110, -135, 96, -37, 6}, {1, 5, 4, -27, 272, 4651, 38880}, 20] (* Harvey P. Dale, Apr 08 2015 *)
PROG
(Magma) [6^n-n^5: n in [0..25]]; // Vincenzo Librandi, Jul 03 2011
CROSSREFS
Sequence in context: A248255 A277058 A275960 * A361983 A192778 A051138
KEYWORD
sign,easy
AUTHOR
STATUS
approved