|
|
A100103
|
|
a(n) = 2^(2*n) - 2*n.
|
|
0
|
|
|
1, 2, 12, 58, 248, 1014, 4084, 16370, 65520, 262126, 1048556, 4194282, 16777192, 67108838, 268435428, 1073741794, 4294967264, 17179869150, 68719476700, 274877906906, 1099511627736, 4398046511062, 17592186044372, 70368744177618
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 6*a(n-1) - 9*a(n-2) + 4*a(n-3).
G.f.: (1 - 4*x + 9*x^2)/((1 - x)^2*(1 - 4*x)). (End)
|
|
MAPLE
|
seq(2^(2*n)-2*n, n=0..20);
|
|
MATHEMATICA
|
Table[2^(2n)-2n, {n, 0, 40}] (* or *) LinearRecurrence[{6, -9, 4}, {1, 2, 12}, 40] (* Harvey P. Dale, May 27 2021 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|