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”).

A024069
a(n) = 6^n - n^7.
2
1, 5, -92, -1971, -15088, -70349, -233280, -543607, -417536, 5294727, 50466176, 343309885, 2140950528, 12997945499, 78258750592, 470014125201, 2820841472000, 16926249106063, 101559344448384, 609358846138757
OFFSET
0,2
LINKS
FORMULA
From Chai Wah Wu, Jan 26 2020: (Start)
a(n) = 14*a(n-1) - 76*a(n-2) + 224*a(n-3) - 406*a(n-4) + 476*a(n-5) - 364*a(n-6) + 176*a(n-7) - 49*a(n-8) + 6*a(n-9) for n > 8.
G.f.: (-7*x^8 - 711*x^7 - 7054*x^6 - 13249*x^5 - 4800*x^4 + 527*x^3 + 86*x^2 + 9*x - 1)/((x - 1)^8*(6*x - 1)). (End)
MATHEMATICA
Table[6^n-n^7, {n, 0, 60}] (* Vladimir Joseph Stephan Orlovsky, Feb 15 2011 *)
PROG
(Magma) [6^n-n^7: n in [0..25]]; // Vincenzo Librandi, Jul 03 2011
CROSSREFS
Sequence in context: A266290 A348347 A222903 * A295407 A152283 A205344
KEYWORD
sign,easy
STATUS
approved