OFFSET
1,3
MATHEMATICA
Hc[n_Integer?Positive] := Hc[n] =Hc[(n - Hc[n-1])*(1-Mod[n, 2])+Hc[n-1]*(Mod[n, 2])] + Hc[(n - Hc[n-2])*(1-Mod[n, 2])+(n-Hc[n-1])*(Mod[n, 2])]
Hc[1] = Hc[2] = 1
Terms = 60
Table[Hc[n], {n, 1, Terms }]
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Sep 01 2003
EXTENSIONS
Edited by N. J. A. Sloane, May 25 2006
STATUS
approved