login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A136196
Numbers n such that n and n+2 are consecutive semiprimes.
7
4, 49, 55, 91, 119, 143, 159, 183, 185, 203, 215, 219, 235, 247, 265, 287, 289, 299, 303, 319, 321, 327, 339, 391, 411, 413, 415, 451, 469, 471, 515, 517, 527, 533, 535, 543, 551, 579, 581, 589, 667, 669, 679, 685, 687, 695, 721, 753, 779, 789, 791, 813, 815
OFFSET
1,1
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
Sequence in context: A248558 A372052 A198384 * A222960 A061100 A147803
KEYWORD
nonn
AUTHOR
Zak Seidov, Dec 21 2007
STATUS
approved