login
a(n) = 3^n + 7^n + 8^n.
1

%I #16 Jan 21 2024 16:50:42

%S 3,18,122,882,6578,49818,380522,2922882,22548578,174591018,1356276122,

%T 10567438482,82561295378,646646418618,5076274366922,39931947947682,

%U 314707950326978,2484430456812618,19642812494812922,155514084423490482

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

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

%H <a href="/index/Rec">Index entries for linear recurrences with constant coefficients</a>, signature (18,-101,168).

%F From _Mohammad K. Azarian_, Dec 30 2008: (Start)

%F G.f.: 1/(1-3*x) + 1/(1-7*x) + 1/(1-8*x).

%F E.g.f.: exp(3*x) + exp(7*x) + exp(8*x). (End)

%t Table[3^n + 7^n + 8^n, {n, 0, 20}]

%t LinearRecurrence[{18,-101,168},{3,18,122},20] (* _Harvey P. Dale_, Jan 21 2024 *)

%o (Magma) [3^n + 7^n + 8^n: n in [0..20]]; // _Vincenzo Librandi_, Aug 24 2011

%Y Cf. A001550, A001576, A034513, A001579, A074501 - A074580.

%K easy,nonn

%O 0,1

%A _Robert G. Wilson v_, Aug 23 2002