login
a(n) = (6*7^n + (-7)^n)/7.
3

%I #15 Sep 08 2022 08:45:10

%S 1,5,49,245,2401,12005,117649,588245,5764801,28824005,282475249,

%T 1412376245,13841287201,69206436005,678223072849,3391115364245,

%U 33232930569601,166164652848005,1628413597910449,8142067989552245

%N a(n) = (6*7^n + (-7)^n)/7.

%H Vincenzo Librandi, <a href="/A083224/b083224.txt">Table of n, a(n) for n = 0..300</a>

%H <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (0,49).

%F a(n) = (6*7^n + (-7)^n)/7.

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

%F E.g.f.: (6*exp(7*x) + exp(-7*x))/7.

%t LinearRecurrence[{0,49},{1,5},30] (* _Harvey P. Dale_, Oct 12 2018 *)

%o (Magma) [(6*7^n+(-7)^n)/7: n in [0..25]]; // _Vincenzo Librandi_, Jun 29 2011

%Y Cf. A083223, A083225.

%K easy,nonn

%O 0,2

%A _Paul Barry_, Apr 23 2003