OFFSET
1,2
COMMENTS
LINKS
R. Zumkeller, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Squarefree
FORMULA
a(n) = f(n,1,2,2,1) with f(n,m,x,y,z) = if n=m then z else if rad(y)=y then f(n,m+1,x+1,x+1,y) else f(n,m+1,x,y/rad(y),rad(y)), rad = squarefree kernel (A007947).
EXAMPLE
1 2 3 _ 4 5 6 7 _ _ 8 _ 9 10 11 _12 13 14 15 _ _ _16 ....
1 2 3 2 2 5 6 7 2 2 2 3 3 10 11 6 2 13 14 15 2 2 2 2 ....
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Reinhard Zumkeller, Mar 18 2007
STATUS
approved