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

A024082
7^n-n^7.
8
1, 6, -79, -1844, -13983, -61318, -162287, 0, 3667649, 35570638, 272475249, 1957839572, 13805455393, 96826261890, 678117659345, 4747390650568, 33232662134145, 232630103648534, 1628412985690417, 11398894291501404, 79792265017612001, 558545862282195466
OFFSET
0,2
COMMENTS
a(20)=79792265017612001 and a(24)=191581231375979942977 are primes, thus terms of A123206. - M. F. Hasler, Aug 20 2014
LINKS
FORMULA
G.f.: (1-9*x-85*x^2-407*x^3+5991*x^4+15665*x^5+8245*x^6+831*x^7+8*x^8)/((1-7*x)*(1-x)^8). - Bruno Berselli, May 16 2011
MATHEMATICA
Table[7^n - n^7, {n, 0, 25}] (* Stefan Steinerberger, Apr 08 2006 *)
PROG
(Magma) [7^n-n^7: n in [0..25]]; // Vincenzo Librandi, May 16 2011
CROSSREFS
KEYWORD
sign
AUTHOR
EXTENSIONS
More terms from Stefan Steinerberger, Apr 08 2006
STATUS
approved