login
A171495
a(n) = 3*a(n-1)+4 for n > 0; a(0) = 6.
2
6, 22, 70, 214, 646, 1942, 5830, 17494, 52486, 157462, 472390, 1417174, 4251526, 12754582, 38263750, 114791254, 344373766, 1033121302, 3099363910, 9298091734, 27894275206, 83682825622, 251048476870, 753145430614, 2259436291846
OFFSET
0,1
COMMENTS
Binomial transform of A171494; second binomial transform of A010726.
Inverse binomial transform of A171496.
FORMULA
a(n) = 2*(4*3^n-1).
G.f.: 2*(3-x)/((1-x)*(1-3*x)).
MATHEMATICA
NestList[3#+4&, 6, 30] (* Harvey P. Dale, Aug 25 2019 *)
PROG
(PARI) {m=25; v=concat([6], vector(m-1)); for(n=2, m, v[n]=3*v[n-1]+4); v}
CROSSREFS
Equals 2*A171498.
Cf. A010726 (repeat 6, 10), A171494, A171496.
Sequence in context: A353704 A305032 A351648 * A178706 A276779 A159555
KEYWORD
nonn
AUTHOR
Klaus Brockhaus, Dec 10 2009
STATUS
approved