login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A171495 a(n) = 3*a(n-1)+4 for n > 0; a(0) = 6. 2

%I #6 Jun 30 2023 15:10:24

%S 6,22,70,214,646,1942,5830,17494,52486,157462,472390,1417174,4251526,

%T 12754582,38263750,114791254,344373766,1033121302,3099363910,

%U 9298091734,27894275206,83682825622,251048476870,753145430614,2259436291846

%N a(n) = 3*a(n-1)+4 for n > 0; a(0) = 6.

%C Binomial transform of A171494; second binomial transform of A010726.

%C Inverse binomial transform of A171496.

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

%F a(n) = 2*(4*3^n-1).

%F G.f.: 2*(3-x)/((1-x)*(1-3*x)).

%t NestList[3#+4&,6,30] (* _Harvey P. Dale_, Aug 25 2019 *)

%o (PARI) {m=25; v=concat([6], vector(m-1)); for(n=2, m, v[n]=3*v[n-1]+4); v}

%Y Equals 2*A171498.

%Y Cf. A010726 (repeat 6, 10), A171494, A171496.

%K nonn

%O 0,1

%A _Klaus Brockhaus_, Dec 10 2009

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 29 06:44 EDT 2024. Contains 371265 sequences. (Running on oeis4.)