OFFSET
1,1
COMMENTS
The union is {0,1,2,3,4}.
MATHEMATICA
Differences[Table[NestWhile[#+1&, n, #>1&&SquareFreeQ[#]&], {n, 100}]]
CROSSREFS
Positions of 0's are A005117.
Positions of 4's are A007675 - 1, except first term.
Positions of 1's are A068781.
Positions of 2's are A073247 - 1.
Positions of 3's are A073248 - 1, except first term.
First-differences of A120327.
A005117 lists the squarefree numbers.
KEYWORD
nonn
AUTHOR
Gus Wiseman, Nov 18 2024
STATUS
approved