login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A084632
Semiprimes such that when they are concatenated with their 10's complement, which also must be a semiprime, the result is a prime.
1
49, 91, 169, 237, 319, 321, 329, 377, 411, 417, 473, 529, 553, 583, 597, 629, 697, 713, 763, 779, 791, 817, 913, 923, 949, 1203, 1257, 1273, 1339, 1347, 1379, 1389, 1497, 1501, 1509, 1529, 1589, 1633, 1739, 1803, 1841, 1967, 1969, 2019, 2103, 2173, 2219
OFFSET
1,1
LINKS
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
Cf. A001358.
Sequence in context: A320633 A108164 A020158 * A020176 A146064 A224905
KEYWORD
nonn,base
AUTHOR
Jason Earls, Jun 28 2003
STATUS
approved