OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
a(3)=169 because 169 is a semiprime and 1000-169 = 831 is a semiprime, while 169831 is a prime.
MATHEMATICA
sctQ[n_]:=Module[{tc=10^IntegerLength[n]-n, j}, j=n*10^IntegerLength[ tc]+ tc; PrimeOmega[tc]==PrimeOmega[n]==2&&PrimeQ[j]]; Select[Range[ 2300], sctQ] (* Harvey P. Dale, Jan 02 2019 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jason Earls, Jun 28 2003
STATUS
approved