OFFSET
1,7
EXAMPLE
a(7)=3 because the 7th squarefree number is 10 = 2*5 and 5 - 2 = 3.
MAPLE
with(numtheory): a:=proc(n) local FS: FS:=factorset(n): if abs(mobius(n))>0 then FS[nops(FS)]-FS[1] else fi end: seq(a(n), n=2..180); # Emeric Deutsch, Mar 07 2006
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Feb 28 2006
EXTENSIONS
More terms from Emeric Deutsch, Mar 07 2006
a(1) = 0 inserted by Georg Fischer, Dec 09 2022
STATUS
approved