proposed
approved
proposed
approved
editing
proposed
b[n_] := (PartitionsP[n] - PartitionsP[n-1])*n; a[n_] := b[2n]; Table[a[n], {n, 0, 34}] (* Jean-François Alcover, Oct 07 2015 *)
approved
editing
editing
approved
Alois P. Heinz, <a href="/A182736/b182736.txt">Table of n, a(n) for n = 0..1000</a>
b:= proc(n, i) option remember; local p, q;
if n<0 then [0, 0]
elif n=0 then [1, 0]
elif i<2 then [0, 0]
local else p, q:= b(n, i-1), b(n-i, i);
if n<0 then [0, 0]
elif n=0 then [1, 0]
elif i<2 then [0, 0]
else p, q:= b(n, i-1), b(n-i, i);
[p[1]+q[1], p[2]+q[2]+q[1]*i]
fi
seq (a(n), n=0..34); # Alois P. Heinz, Dec 03 2010
approved
editing
proposed
approved
editing
proposed
More terms and Maple program from Alois P. Heinz, Dec 03 2010
a(n) = 2*n*A182746(n). [- _Omar E. Pol, _, Dec 05 2010]
seq (a(n), n=0..34); # _Alois P. Heinz_, Dec 03 2010
approved
editing