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”).
%I #18 Sep 08 2022 08:44:48
%S 1,6,-79,-1844,-13983,-61318,-162287,0,3667649,35570638,272475249,
%T 1957839572,13805455393,96826261890,678117659345,4747390650568,
%U 33232662134145,232630103648534,1628412985690417,11398894291501404,79792265017612001,558545862282195466
%N 7^n-n^7.
%C a(20)=79792265017612001 and a(24)=191581231375979942977 are primes, thus terms of A123206. - _M. F. Hasler_, Aug 20 2014
%H Vincenzo Librandi, <a href="/A024082/b024082.txt">Table of n, a(n) for n = 0..200</a>
%F 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
%t Table[7^n - n^7, {n, 0, 25}] (* _Stefan Steinerberger_, Apr 08 2006 *)
%o (Magma) [7^n-n^7: n in [0..25]]; // _Vincenzo Librandi_, May 16 2011
%Y Cf. A024012, A024026, A058794, A024040, A024054, A024068.
%K sign
%O 0,2
%A _N. J. A. Sloane_.
%E More terms from _Stefan Steinerberger_, Apr 08 2006