|
|
A134522
|
|
a(n) = 2^n + ceiling(n/2).
|
|
3
|
|
|
1, 3, 5, 10, 18, 35, 67, 132, 260, 517, 1029, 2054, 4102, 8199, 16391, 32776, 65544, 131081, 262153, 524298, 1048586, 2097163, 4194315, 8388620, 16777228, 33554445, 67108877, 134217742, 268435470, 536870927, 1073741839, 2147483664, 4294967312, 8589934609
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 3*a(n-1) - a(n-2) - 3*a(n-3) + 2*a(n-4).
G.f.: (1 - 3*x^2 + x^3)/((1 - x)^2*(1 + x)*(1 - 2*x)).
(End)
|
|
PROG
|
(PARI) Vec((1 - 3*x^2 + x^3)/((1 - x)^2*(1 + x)*(1 - 2*x)) + O(x^40)) \\ Andrew Howroyd, Aug 10 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Name changed, a(8) inserted and a(14)-a(33) from Andrew Howroyd, Aug 10 2018
|
|
STATUS
|
approved
|
|
|
|