login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

First-differences of A067535 (least positive integer >= n that is squarefree).
9

%I #8 Nov 22 2024 11:08:25

%S 1,1,2,0,1,1,3,0,0,1,2,0,1,1,2,0,2,0,2,0,1,1,3,0,0,3,0,0,1,1,2,0,1,1,

%T 2,0,1,1,2,0,1,1,3,0,0,1,4,0,0,0,2,0,2,0,2,0,1,1,2,0,1,3,0,0,1,1,2,0,

%U 1,1,2,0,1,3,0,0,1,1,3,0,0,1,2,0,1,1,2

%N First-differences of A067535 (least positive integer >= n that is squarefree).

%C Does this contain all nonnegative integers? The positions of first appearances begin: 4, 1, 3, 7, 47, 241, 843, 22019, 217069, ...

%t Differences[Table[NestWhile[#+1&,n,#>1&&!SquareFreeQ[#]&],{n,100}]]

%Y Ones are A007674.

%Y Zeros are A013929, complement A005117.

%Y Positions of first appearances are A020754 (except first term) = A045882 - 1.

%Y First-differences of A067535.

%Y Twos are A280892.

%Y For prime-powers we have A377780, differences of A000015.

%Y The nonsquarefree opposite is A378036, differences of A378033.

%Y The restriction to primes + 1 is A378037 (opposite A378038), differences of A112926.

%Y For nonsquarefree numbers we have A378039, see A377783, A377784, A378040.

%Y The opposite is A378085, differences of A070321.

%Y A000040 lists the primes, differences A001223, seconds A036263.

%Y A005117 lists the squarefree numbers.

%Y A013929 lists the nonsquarefree numbers, differences A078147, seconds A376593.

%Y A061398 counts squarefree numbers between primes, zeros A068360.

%Y A061399 counts nonsquarefree numbers between primes, zeros A068361.

%Y Cf. A005117, A007675, A068781, A073247, A073248, A378084.

%Y Cf. A013928, A053797, A053806, A072284, A120327, A224363.

%K nonn

%O 1,3

%A _Gus Wiseman_, Nov 20 2024