login
A097578
a(n) = (2*n+1)*2^floor((n+1)/2).
2
1, 6, 10, 28, 36, 88, 104, 240, 272, 608, 672, 1472, 1600, 3456, 3712, 7936, 8448, 17920, 18944, 39936, 41984, 88064, 92160, 192512, 200704, 417792, 434176, 901120, 933888, 1933312, 1998848, 4128768, 4259840, 8781824, 9043968, 18612224, 19136512, 39321600
OFFSET
0,2
FORMULA
G.f.: (1+6*x+6*x^2+4*x^3)/(1-2*x^2)^2. - Robert Israel, Feb 28 2017
MAPLE
seq(seq((4*k+2*j+1)*2^(k+j), j=[0, 1]), k=0..50); # Robert Israel, Feb 28 2017
MATHEMATICA
LinearRecurrence[{0, 4, 0, -4}, {1, 6, 10, 28}, 40] (* Harvey P. Dale, Sep 08 2021 *)
CROSSREFS
Right-hand edge of triangle in A097474.
Sequence in context: A014494 A318894 A129545 * A300098 A240972 A349846
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Sep 21 2004
STATUS
approved