OFFSET
0,4
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..10000
MATHEMATICA
a[0]:= 0; a[1]:= 1; a[2]:= 1;
a[n_]:= a[n] = If[Mod[n, 2]==0, a[Floor[n/2]], a[a[Floor[(n-1)/2]]] + a[n-a[Floor[(n-1)/2]]]];
Table[a[n], {n, 0, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger L. Bagula and Gary W. Adamson, Jun 03 2010
STATUS
approved