OFFSET
1,1
LINKS
David A. Corneth, Table of n, a(n) for n = 1..10000
EXAMPLE
98 = 2*7*7, 99 = 3*3*11, 100 = 2*2*5*5. Three consecutive integers 98, 99, and 100 are each products of three or more primes. Thus, 98 is a term.
MATHEMATICA
Select[Range[1002], Total[Transpose[FactorInteger[#]][[2]]] >= 3 && Total[Transpose[FactorInteger[# + 1]][[2]]] >= 3 && Total[Transpose[FactorInteger[# + 2]][[2]]] >= 3 &]
p3pQ[k_]:=Boole[#>2&/@k]=={1, 1, 1}; Position[Partition[PrimeOmega[ Range[ 900]], 3, 1], _?p3pQ]//Flatten (* Harvey P. Dale, Nov 18 2021 *)
PROG
(PARI) is(n) = for(i = 0, 2, if(bigomega(n + i) < 3, return(0))); 1 \\ David A. Corneth, Jun 08 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Tanya Khovanova, Jun 07 2021
STATUS
approved