OFFSET
1,1
COMMENTS
EXAMPLE
The initial nonsquarefree numbers are 4, 8, 9, 12, 16, 18, 20, 24, 25, which first increase by 2 after the fifth and sixth terms.
MATHEMATICA
Join@@Position[Differences[Select[Range[1000], !SquareFreeQ[#]&]], 2]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Sep 09 2024
STATUS
approved