PROG
(MAGMAMagma) [ n: n in [1..118] | not IsPrime(n) and not IsPrime(StringToInteger(IntegerToString(n) cat IntegerToString(NthPrime(n)))) ];
(MAGMAMagma) [ n: n in [1..118] | not IsPrime(n) and not IsPrime(StringToInteger(IntegerToString(n) cat IntegerToString(NthPrime(n)))) ];
reviewed
approved
proposed
reviewed
editing
proposed
The concatenation of the nonprime 1 and the first prime 2 is the composite 12, hence 1 is in the sequence. Concatenation of nonprime 9 and ninth prime 23 is the composite 923 = 13*71, hence 9 is in the sequence.
Concatenation of nonprime 9 and ninth prime 23 is the composite 923 = 13*71, hence 9 is in the sequence.
proposed
editing
editing
proposed
Edited and extended beyond a(12) by _Klaus Brockhaus, _, Jan 20 2009
approved
editing
editing
approved
Harvey P. Dale, <a href="/A154967/b154967.txt">Table of n, a(n) for n = 1..1000</a>
approved
editing
editing
approved