OFFSET
1,1
LINKS
Zak Seidov, Table of n, a(n) for n = 1..1000.
EXAMPLE
4 and 6 are 1st and 2nd semiprimes,
49 and 51 are 17th and 18th semiprimes,
55 and 57 are 19th and 20th semiprimes.
MATHEMATICA
Position[Partition[PrimeOmega[Range[900]], 3, 1], _?(#[[1]]==#[[3]]==2 && #[[2]]!=2&), 1, Heads->False]//Flatten (* Harvey P. Dale, Oct 15 2021 *)
PROG
(PARI) isok(n) = (bigomega(n) == 2) && (bigomega(n+2) == 2) && (bigomega(n+1) != 2); \\ Michel Marcus, Oct 13 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Dec 21 2007
STATUS
approved