OFFSET
1,1
COMMENTS
This is the sequence of the n-th prime for n = {4,6,9,10,14,15,21,22,25,26,33,34,35,38,39,46,49,51,...}. Not to be confused with A106350: semiprimes indexed by primes.
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
a(1) = 7 because semiprime(1) = 4, so prime(semiprime(1)) = prime(4) = 7.
MATHEMATICA
Prime@ Select[Range@ 161, PrimeOmega@ # == 2 &] (* or *) Select[Prime@ Range@ 161, PrimeOmega@ PrimePi@ # == 2 &] (* Michael De Vlieger, Nov 28 2015 *)
PROG
(Magma) [NthPrime(n): n in [2..200] | &+[d[2]: d in Factorization(n)] eq 2]; // Vincenzo Librandi, Nov 28 2015
(PARI) lista(nn) = select(x->(bigomega(primepi(x))==2), primes(nn)); \\ Michel Marcus, Nov 29 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jonathan Vos Post, Apr 29 2005
STATUS
approved