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 A343729 #7 May 30 2024 09:53:30 %S A343729 8,27,98,342,242,6092,3174,2870,2522,16023,26604,114359,41780,74492, %T A343729 39344,463162,104660,248408,517422,923723,506510,1930824,584214, %U A343729 2560178,4036968,4570412,4552364,7879254,4417814,27841052,5167588,13683035,9725108,47735343 %N A343729 a(n) is the smallest number that starts a run of exactly n consecutive integers that are neither primes nor semiprimes. %e A343729 a(5) = 242 because 241 is a prime, 247=13*19 is a semiprime, none of the 5 consecutive integers between them are primes or semiprimes (242 = 2*11^2, 243 = 3^5, 244 = 2^2*61, 245 = 5*7^2, and 246 = 2*3*41), and there is no smaller run of exactly 5 consecutive integers that are neither prime nor semiprime. %t A343729 Module[{nn=48*10^6,lst},lst=Table[Which[PrimeQ[n],1,PrimeOmega[n]==2,1,True,0],{n,nn}]; Flatten[Table[SequencePosition[lst,Join[{1},PadRight[{},n,0],{1}],1],{n,34}],1]][[;;,1]]+1 (* _Harvey P. Dale_, May 30 2024 *) %Y A343729 Cf. A045881, A340735. %K A343729 nonn %O A343729 1,1 %A A343729 _Jon E. Schoenfield_, May 22 2021 %E A343729 Corrected by _Harvey P. Dale_, May 30 2024