This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A378369 #7 Dec 02 2024 09:50:05 %S A378369 3,2,1,0,3,2,1,0,0,2,1,0,3,2,1,0,1,0,1,0,3,2,1,0,0,1,0,0,3,2,1,0,3,2, %T A378369 1,0,3,2,1,0,3,2,1,0,0,2,1,0,0,0,1,0,1,0,1,0,3,2,1,0,2,1,0,0,3,2,1,0, %U A378369 3,2,1,0,2,1,0,0,3,2,1,0,0,2,1,0,3,2,1 %N A378369 Distance between n and the least nonsquarefree number >= n. %C A378369 All terms are 0, 1, 2, or 3 (cf. A078147). %t A378369 Table[NestWhile[#+1&,n,SquareFreeQ[#]&]-n,{n,100}] %Y A378369 Adding n to each term a(n) gives A120327. %Y A378369 Positions of 0 are A013929. %Y A378369 Positions of 1 are A373415. %Y A378369 Positions of 2 are A378458. %Y A378369 Positions of 3 are A007675. %Y A378369 Sequences obtained by adding n to each term are placed in parentheses below. %Y A378369 The version for primes is A007920 (A007918). %Y A378369 The version for perfect powers is A074984 (A377468). %Y A378369 The version for squarefree numbers is A081221 (A067535). %Y A378369 The version for non-perfect powers is A378357 (A378358). %Y A378369 The version for prime powers is A378370 (A000015). %Y A378369 The version for non prime powers is A378371 (A378372). %Y A378369 A005117 lists the squarefree numbers, first differences A076259. %Y A378369 A013929 lists the nonsquarefree numbers, first differences A078147. %Y A378369 A120992 gives run-lengths of squarefree numbers increasing by one. %Y A378369 Cf. A073247, A151800, A236575, A243348, A375707, A377046, A378033, A378039, A378086, A378373. %K A378369 nonn %O A378369 1,1 %A A378369 _Gus Wiseman_, Dec 01 2024