login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A155611
6^n - 3^n + 1.
9
1, 4, 28, 190, 1216, 7534, 45928, 277750, 1673056, 10058014, 60407128, 362619910, 2176250896, 13059099694, 78359381128, 470170635670, 2821066860736, 16926530304574, 101559569247928, 609358577749030, 3656154953278576
OFFSET
0,2
FORMULA
G.f.: 1/(1-6*x)-1/(1-3*x)+1/(1-x). E.g.f.: e^(6*x)-e^(3*x)+e^x.
a(n)=9*a(n-1)-18*a(n-2)+10 with a(0)=1, a(1)=4 [From Vincenzo Librandi, Jul 21 2010]
E.g.f.: exp(6*x)-exp(3*x)+exp(x)= G(0) ; G(k)= 1 - 1/( 2^k + 2^k/( 3^k - 1 - 6*x*18^k/( x*6^(k+1)+(k+1)/G(k+1)))); (continued fraction, 3-step ). - Sergei N. Gladkovskii, Jan 10 2012
PROG
(PARI) a(n)=6^n-3^n+1 \\ Charles R Greathouse IV, Jan 09 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Jan 26 2009
STATUS
approved