OFFSET
1,1
LINKS
K. D. Bajpai, Table of n, a(n) for n = 1..11480
EXAMPLE
13 and 17 are consecutive primes. Their reverse concatenation = 1713 = 3 * 571, which is semiprime.
19 and 23 are consecutive primes. Their reverse concatenation = 2319 = 3 * 773, which is semiprime.
MAPLE
select(k -> numtheory:-bigomega(k)=2, [seq(parse(cat(ithprime(n+1), ithprime(n))), n=1..200)]);
MATHEMATICA
PROG
(PARI)
forprime(p=1, 10^3, q=concat(Str(p), Str(precprime(p-1))); if(bigomega(eval(q))==2, print1(eval(q), ", "))) \\ Derek Orr, Aug 15 2014
CROSSREFS
KEYWORD
nonn,base
AUTHOR
K. D. Bajpai, Aug 15 2014
STATUS
approved