OFFSET
1,69
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
The 69th squarefree number is 110=2*5*11, therefore a(69)=2, as there are two gaps: between 2 and 5 and between 5 and 11.
MATHEMATICA
gaps[n_] := SequenceCount[FactorInteger[n][[;; , 1]], {p1_, p2_} /; p2 != NextPrime[p1], Overlaps -> True]; gaps /@ Select[Range[200], SquareFreeQ] (* Amiram Eldar, Apr 10 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Aug 03 2002
STATUS
approved