login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A024081
a(n) = 7^n - n^6.
2
1, 6, -15, -386, -1695, 1182, 70993, 705894, 5502657, 39822166, 281475249, 1975555182, 13838301217, 96884183598, 678215543313, 4747550119318, 33232913792385, 232630489849638, 1628413563898225, 11398895138327262
OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (14,-70,182,-280,266,-154,50,-7).
MATHEMATICA
Table[7^n-n^6, {n, 0, 30}] (* Harvey P. Dale, May 28 2019 *)
PROG
(Magma) [7^n-n^6: n in [0..20]]; // Vincenzo Librandi, Jul 2011
CROSSREFS
Sequence in context: A335578 A199095 A235230 * A145558 A145612 A307812
KEYWORD
sign,easy
AUTHOR
STATUS
approved