OFFSET
0,3
FORMULA
a(n) = A241810(2*n+1).
MATHEMATICA
np[z_]:=Module[{i, j}, For[i=Length[z], i>1&&z[[i-1]]>=z[[i]], i--]; For[j=Length[z], z[[j]]<=z[[i-1]], j--]; Join[Take[z, i-2], {z[[j]]}, Reverse[Drop[ReplacePart[z, z[[i-1]], j], i-1]]]]; o=Table[1, {16}];
Print[1]; Do[p=Join[-Take[o, n], {0}, Take[o, n]]; c=0; Do[If[Accumulate[Accumulate[p]][[-1]]==0, c++]; p=np[p], {(2*n+1)!/(2*n!^2)}]; Print[2*c], {n, 16}]
(* Hans Havermann, May 10 2014 *)
PROG
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Peter Luschny, May 04 2014
EXTENSIONS
More terms from Hans Havermann, May 10 2014
a(17) from Hans Havermann, May 23 2014
STATUS
approved