OFFSET
1,3
FORMULA
a(n) = (1/2)*(n + A053615(n)).
PROG
(PARI) a(n)=if(n<2, 1, n-a(n-sqrtint(n)))
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Dec 22 2002
EXTENSIONS
Corrected by Franklin T. Adams-Watters, Oct 25 2006
STATUS
approved