|
|
A171496
|
|
a(n) = 6*a(n-1) - 8*a(n-2) for n > 1; a(0) = 6, a(1) = 28.
|
|
3
|
|
|
6, 28, 120, 496, 2016, 8128, 32640, 130816, 523776, 2096128, 8386560, 33550336, 134209536, 536854528, 2147450880, 8589869056, 34359607296, 137438691328, 549755289600, 2199022206976, 8796090925056, 35184367894528
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
Binomial transform of A171495; second binomial transform of A171494; third binomial transform of A010726.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 8*4^n - 2*2^n.
G.f.: 2*(3-4*x)/((1-2*x)*(1-4*x)).
E.g.f.: 2*exp(2*x)*(2*exp(2*x) - 1)*(2*exp(2*x) + 1). - Stefano Spezia, Dec 10 2021
|
|
MATHEMATICA
|
LinearRecurrence[{6, -8}, {6, 28}, 30] (* Harvey P. Dale, Dec 21 2014 *)
|
|
PROG
|
(PARI) {m=22; v=concat([6, 28], vector(m-2)); for(n=3, m, v[n]=6*v[n-1]-8*v[n-2]); v}
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|