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

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
OFFSET
1,1
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) ];
(PARI) is(n)=isprime(100000*n+91111) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A155942 A315834 A315835 * A331860 A069198 A069136
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Jul 30 2005
EXTENSIONS
More terms from Emeric Deutsch, Aug 07 2005
STATUS
approved