login
A081626
2*6^n-4^n.
4
1, 8, 56, 368, 2336, 14528, 89216, 543488, 3293696, 19893248, 119883776, 721399808, 4336787456, 26054279168, 156459892736, 939296227328, 5637924847616, 33836139020288, 203051193860096, 1218444602114048
OFFSET
0,2
COMMENTS
Binomial transform of A081625. Inverse binomial transform of A081627.
FORMULA
a(n) = 10*a(n-1)-24*a(n-2), a(0)=1, a(1)=8.
G.f.: (1-2*x)/((1-4*x)(1-6*x)).
E.g.f. 2*exp(6*x)-exp(4*x).
MATHEMATICA
Table[2 6^n - 4^n, {n, 0, 20}] (* or *) LinearRecurrence[{10, -24}, {1, 8}, 20] (* Harvey P. Dale, Aug 19 2012 *)
CoefficientList[Series[(1 - 2 x) / ((1 - 4 x) (1 - 6 x)), {x, 0, 40}], x] (* Vincenzo Librandi, Aug 09 2013 *)
PROG
(Magma) [2*6^n-4^n: n in [0..25]]; // Vincenzo Librandi, Aug 09 2013
(PARI) a(n)=2*6^n-4^n \\ Charles R Greathouse IV, Oct 07 2015
CROSSREFS
Sequence in context: A291387 A272773 A162754 * A272763 A199939 A003494
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Mar 25 2003
STATUS
approved