login
A309294
(1/2) times the sum of the elements of all subsets of [n] whose sum is divisible by two.
2
0, 0, 1, 6, 20, 60, 168, 448, 1152, 2880, 7040, 16896, 39936, 93184, 215040, 491520, 1114112, 2506752, 5603328, 12451840, 27525120, 60555264, 132644864, 289406976, 629145600, 1363148800, 2944401408, 6341787648, 13623099392, 29192355840, 62411243520
OFFSET
0,4
FORMULA
G.f.: -x^2*(4*x^3-4*x^2+1)/(2*x-1)^3.
a(n) = 6*a(n-1) - 12*a(n-2) + 8*a(n-3). - Wesley Ivan Hurt, Jun 05 2026
MATHEMATICA
LinearRecurrence[{6, -12, 8}, {0, 0, 1, 6, 20, 60}, 40] (* Harvey P. Dale, Aug 27 2021 *)
CROSSREFS
Column k=2 of A309280.
Sequence in context: A212689 A027984 A342313 * A018808 A027107 A247307
KEYWORD
nonn,easy
AUTHOR
Alois P. Heinz, Jul 21 2019
STATUS
approved