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”).

A032624
Numbers k such that k concatenated with k+9 is a prime.
4
2, 10, 14, 20, 28, 38, 40, 50, 52, 58, 62, 64, 70, 80, 82, 100, 104, 110, 112, 118, 122, 124, 142, 148, 160, 164, 170, 172, 178, 188, 194, 208, 218, 224, 230, 238, 244, 248, 250, 260, 262, 274, 284, 292, 298, 308, 320, 338, 344, 352, 362, 364, 382, 398, 400
OFFSET
1,1
LINKS
MAPLE
tcat:= (a, b) -> a*10^(1+ilog10(b))+b:
select(t -> isprime(tcat(t, t+9)), [seq(i, i=2..1000, 2)]); # Robert Israel, Sep 04 2024
MATHEMATICA
Select[Range[400], PrimeQ[FromDigits[Join[IntegerDigits[#], IntegerDigits[#+9]]]]&] (* Stefano Spezia, Sep 04 2023 *)
CROSSREFS
Cf. A032614.
Sequence in context: A349832 A050546 A032384 * A350059 A349833 A091999
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, May 15 1998
STATUS
approved