OFFSET
1,1
COMMENTS
The linked table includes probable primes. - Jens Kruse Andersen, Jul 21 2014
LINKS
K. D. Bajpai and Jens Kruse Andersen, Table of n, a(n) for n = 1..10000 (first 370 terms from K. D. Bajpai)
EXAMPLE
137 is prime. 1 * 3 * 7 = 21 = 3 * 7, which is semiprime.
251 is prime. 2 * 5 * 1 = 10 = 2 * 5, which is semiprime.
MATHEMATICA
Select[Prime[Range[1000]], PrimeOmega[(Times @@ IntegerDigits[#])] == 2 &]
PROG
(PARI) f(n, b, d) = if(d, for(i=1, 9, if(b+bigomega(i)<=2, f(10*n+i, b+bigomega(i), d-1))), if(b==2 && isprime(n), print1(n", ")))
for(d=1, 8, f(0, 0, d)) \\ f(0, 0, d) prints d-digit terms. Jens Kruse Andersen, Jul 21 2014
CROSSREFS
KEYWORD
nonn,base
AUTHOR
K. D. Bajpai, Jul 20 2014
STATUS
approved