A373573 Least k such that the k-th maximal antirun of nonsquarefree numbers has length n. Position of first appearance of n in A373409.
6, 1, 18, 8, 4, 2, 10, 52, 678
Offset: 1
Keywords
Examples
The maximal antiruns of nonsquarefree numbers begin: 4 8 9 12 16 18 20 24 25 27 28 32 36 40 44 45 48 49 50 52 54 56 60 63 64 68 72 75 76 80 81 84 88 90 92 96 98 99 The a(n)-th rows are: 49 4 8 148 150 152 64 68 72 75 28 32 36 40 44 9 12 16 18 20 24 81 84 88 90 92 96 98 477 480 484 486 488 490 492 495 6345 6348 6350 6352 6354 6356 6358 6360 6363
Links
Crossrefs
Programs
-
Mathematica
t=Length/@Split[Select[Range[10000],!SquareFreeQ[#]&],#1+1!=#2&]//Most; spna[y_]:=Max@@Select[Range[Length[y]],SubsetQ[t,Range[#1]]&]; Table[Position[t,k][[1,1]],{k,spna[t]}]
Comments