OFFSET
0,2
FORMULA
a(n) seems to be asymptotic to (c*n)^(1/3) where c=4.96....
EXAMPLE
If x(1)=3 x(2)=4*floor(3/4)=0 hence a(3)=2, if x(1)=10 x(2)=4*floor(10/4)=2 x(3)=0 hence a(10)=3...
PROG
(PARI) a(n)=if(n<0, 0, s=n; c=1; while(s-s%(c^2)>0, s=s-s%(c^2); c++); c)
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Apr 30 2003
STATUS
approved