A309294 (1/2) times the sum of the elements of all subsets of [n] whose sum is divisible by two.
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
Links
- Alois P. Heinz, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (6,-12,8).
Crossrefs
Column k=2 of A309280.
Programs
-
Mathematica
LinearRecurrence[{6,-12,8},{0,0,1,6,20,60},40] (* Harvey P. Dale, Aug 27 2021 *)
Formula
G.f.: -x^2*(4*x^3-4*x^2+1)/(2*x-1)^3.