1,3

Table of n, a(n) for n=1..74.

a(n) = (1/2)*(n + A053615(n)).

(PARI) a(n)=if(n<2, 1, n-a(n-sqrtint(n)))

Cf. A028391, A053615.

Sequence in context: A304110 A051134 A347777 * A296816 A064474 A072688

Adjacent sequences: A037455 A037456 A037457 * A037459 A037460 A037461

nonn

Benoit Cloitre, Dec 22 2002

Corrected by Franklin T. Adams-Watters, Oct 25 2006

approved