OFFSET
0,3
COMMENTS
The limiting ratio a(n+1)/a(n) is:1.564378648884
FORMULA
a(n)=a(n-1)+2*a(n-2)-Floor[a(n-1)/2]-Floor[a(n-4)/2]-Floor[a(n-5)/2]
MATHEMATICA
a[-3] = 0; a[-2] = 0; a[-1] = 0; a[0] = 1; a[1] = 1;
a[n_] := a[n] =
a[n - 1] + 2*a[n - 2] - Floor[a[n - 1]/2] - Floor[a[n - 4]/2] -
Floor[a[n - 5]/2]
Table[a[n], {n, 0, 30}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Nov 23 2010
STATUS
approved