

A109605


Numbers n such that 100000n + 91111 is prime.


0



6, 7, 12, 18, 30, 39, 67, 69, 72, 82, 96, 105, 109, 118, 120, 123, 132, 142, 144, 147, 148, 156, 159, 166, 175, 181, 184, 195, 204, 205, 211, 223, 225, 228, 243, 244, 246, 247, 259, 270, 271, 288, 303, 312, 334, 342, 343, 345, 351, 355, 364, 366, 376, 379
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


LINKS



EXAMPLE

96 is in the sequence because 100000*96+91111 = 9691111 is prime.


MAPLE

c:=proc(x, y) local s: s:=proc(m) nops(convert(m, base, 10)) end: x*10^s(y)+y: end: a:=proc(n) if isprime(c(n, 91111)) then n fi end: seq(a(n), n=0..400); # c is the process which concatenates two positive integers # Emeric Deutsch, Aug 07 2005


MATHEMATICA

Select[Range[400], PrimeQ[100000#+91111]&] (* Harvey P. Dale, Jul 31 2014 *)


PROG

(Magma) [ n: n in [0..400]  IsPrime(100000*n+91111) ];


CROSSREFS



KEYWORD

nonn,easy


AUTHOR



EXTENSIONS



STATUS

approved



