A165148 a(n) = (3*8^n-4^n)/2.
1, 10, 88, 736, 6016, 48640, 391168, 3137536, 25133056, 201195520, 1610088448, 12882804736, 103070826496, 824600166400, 6596935548928, 52776021262336, 422210317582336, 3377691130593280, 27021563404484608, 216172644674830336
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..200
- Index entries for linear recurrences with constant coefficients, signature (12, -32).
Programs
-
Magma
[ (3*8^n-4^n)/2: n in [0..19] ];
-
Mathematica
Table[(3*8^n-4^n)/2,{n,0,20}] (* Harvey P. Dale, Jul 23 2014 *)
Formula
a(n) = 12*a(n-1)-32*a(n-2) for n > 1; a(0) = 1, a(1) = 10.
G.f.: (1-2*x)/((1-4*x)*(1-8*x)).
Comments