A097578 a(n) = (2*n+1)*2^floor((n+1)/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
Keywords
Links
- Robert Israel, Table of n, a(n) for n = 0..6608
- Index entries for linear recurrences with constant coefficients, signature (0,4,0,-4).
Crossrefs
Right-hand edge of triangle in A097474.
Programs
-
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 *)
Formula
G.f.: (1+6*x+6*x^2+4*x^3)/(1-2*x^2)^2. - Robert Israel, Feb 28 2017