login
a(n) = 7^n + n^7.
7

%I #27 Sep 08 2022 08:44:29

%S 1,8,177,2530,18785,94932,397585,1647086,7861953,45136576,292475249,

%T 1996813914,13877119009,96951758924,678328486353,4747732369318,

%U 33233199005057,232630924325880,1628414210130481

%N a(n) = 7^n + n^7.

%H Vincenzo Librandi, <a href="/A001596/b001596.txt">Table of n, a(n) for n = 0..1000</a>

%H <a href="/index/Rec#order_09">Index entries for linear recurrences with constant coefficients</a>, signature (15,-84,252,-462,546,-420,204,-57,7).

%p seq(seq(k^n+n^k, k=7..7), n=0..18); # _Zerinvary Lajos_, Jun 29 2007

%t f[n_]:=7^n+n^7;f[Range[0,40]] (* _Vladimir Joseph Stephan Orlovsky_, Feb 14 2011 *)

%t LinearRecurrence[{15,-84,252,-462,546,-420,204,-57,7},{1,8,177,2530,18785,94932,397585,1647086,7861953},20] (* _Harvey P. Dale_, Sep 16 2018 *)

%o (PARI) a(n)=7^n+n^7

%o (Magma) [7^n+n^7: n in [0..30]]; // _Vincenzo Librandi_, Oct 27 2011

%Y Cf. A001580, A001585, A001589, A001593, A001594.

%K nonn,easy

%O 0,2

%A _N. J. A. Sloane_