|
|
A107644
|
|
Numbers n such that the string 1113n is the decimal expansion of a prime number.
|
|
5
|
|
|
1, 17, 23, 37, 41, 47, 73, 103, 137, 149, 157, 173, 181, 187, 193, 197, 199, 221, 239, 253, 257, 317, 319, 337, 349, 373, 379, 401, 403, 421, 451, 461, 481, 491, 509, 521, 527, 557, 569, 587, 599, 617, 643, 667, 701, 703, 713, 719, 751, 773, 781, 787, 793
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
11 and 13 are twin primes.
|
|
LINKS
|
|
|
EXAMPLE
|
n=1: 11131 is prime.
n=47: 111347 is prime.
n=149: 1113149 is prime.
|
|
MATHEMATICA
|
Select[Range[800], PrimeQ[1113*10^IntegerLength[#]+#]&] (* Harvey P. Dale, Sep 26 2016 *)
|
|
PROG
|
(Magma) [ n: n in [1..800] | IsPrime(Seqint(Intseq(n) cat [3, 1, 1, 1])) ];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|