OFFSET
0,17
COMMENTS
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..10000
EXAMPLE
a(5) = a(floor(5/2^2)) = a(1) = 1.
MATHEMATICA
Join[{0}, Clear[a]; a[0]=0; a[1]=1; a[n_]:=a[n]=Sum[a[Floor[n/k^2]], {k, 2, n}]; Table[a[n], {n, 1, 100}]] (* Vincenzo Librandi, Jul 22 2019 *)
PROG
(PARI) a(n) = if (n<=1, n, sum (k=2, sqrtint(n), a(n\k^2)))
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Jul 19 2019
STATUS
approved