|
|
A023237
|
|
Numbers k such that k and 10*k + 1 are both prime.
|
|
8
|
|
|
3, 7, 13, 19, 31, 43, 97, 103, 109, 151, 157, 181, 193, 211, 241, 271, 337, 349, 367, 409, 421, 439, 487, 523, 547, 571, 601, 613, 631, 691, 733, 769, 811, 823, 829, 883, 937, 1009, 1021, 1033, 1039, 1063, 1069, 1117, 1201, 1249, 1279, 1291, 1459, 1483, 1489
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Primes which with a 1 appended stay prime.
|
|
LINKS
|
|
|
MAPLE
|
with(numtheory); for i from 1 to 500 do if isprime(10*ithprime(i)+1) then printf(`%d, `, ithprime(i)) fi: od: # James A. Sellers, Apr 09 2005
|
|
MATHEMATICA
|
Select[Prime[Range[ 240]], PrimeQ[FromDigits[Join[IntegerDigits[ # ], {1}]]] &] (* Robert G. Wilson v, Apr 09 2005 *)
|
|
PROG
|
(Magma) [n: n in [0..1000] | IsPrime(n) and IsPrime(10*n+1)] // Vincenzo Librandi, Nov 20 2010
(Magma) [p: p in PrimesUpTo(1100)| IsPrime(10*p+1)]; // Vincenzo Librandi, May 21 2014
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|