OFFSET
0,4
MATHEMATICA
a[n_] := a[n] = Which[n ==0, 0, True, n - 1 - Sum[Nest[a, n - i, i + 1], {i, 1, n}]]; Table[a[n], {n, 0, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
José María Grau Ribas, Jul 09 2013
STATUS
approved