OFFSET
1,1
COMMENTS
Number of primes counted with multiplicity. - Harvey P. Dale, Sep 05 2021
EXAMPLE
2 is in the list since 1 + prime(2) = 4 and 1 + prime(3) = 6 are both products of 2 primes.
4 is in the list since 1 + prime(4) = 8 and 1 + prime(5) = 12 are both products of 3 primes.
MATHEMATICA
Reap[Do[If[PrimeOmega[1 + Prime[n + 1]] == PrimeOmega[1 + Prime[n]], Sow[n]], {n, 200}]][[2, 1]]
SequencePosition[Table[PrimeOmega[Prime[n]+1], {n, 400}], {x_, x_}][[All, 1]] (* Harvey P. Dale, Sep 05 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Feb 15 2015
STATUS
approved