login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A108757 Numbers n such that 1000n + 911 is prime. 0
0, 3, 6, 12, 17, 18, 21, 23, 30, 32, 33, 35, 41, 47, 56, 69, 72, 80, 83, 87, 90, 93, 95, 96, 98, 102, 104, 116, 117, 123, 132, 135, 137, 149, 153, 159, 161, 164, 167, 188, 191, 194, 201, 203, 206, 210, 216, 219, 224, 228, 233, 237, 242, 243, 245, 249, 252, 254 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
0 is in the sequence because 1000*0+911 = 911 is prime.
32 is in the sequence because 1000*32+911 = 32911 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, 911))=true then n else fi end: seq(a(n), n=0..360); # c is the process which concatenates two positive integers # Emeric Deutsch, Aug 07 2005
PROG
(Magma) [ n: n in [0..300] | IsPrime(1000*n+911) ];
(PARI) is(n)=isprime(1000*n+911) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A109735 A086538 A127563 * A323645 A307042 A146952
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Jul 25 2005
EXTENSIONS
More terms from Emeric Deutsch, Aug 07 2005
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 08:33 EDT 2024. Contains 371905 sequences. (Running on oeis4.)