OFFSET
0,3
MATHEMATICA
f[-4] = 0; f[-3] = 0; f[-2] = 0; f[-1] = 0; f[0] = 1; f[1] = 1;
f[n_] := f[n] = f[n - 1] + f[n - 2] - Floor[f[n - 4]/4] - Floor[f[n - 5]/2] - Floor[f[n - 6]/4]
Table[f[n], {n, 0, 50}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Roger L. Bagula, Nov 23 2010
STATUS
approved