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!)
A034591 Numbers whose concatenation with the next prime yields a prime. 5
0, 2, 6, 8, 9, 12, 27, 31, 36, 42, 44, 45, 51, 56, 63, 68, 69, 78, 83, 86, 93, 94, 96, 98, 102, 104, 105, 108, 115, 117, 118, 123, 126, 132, 138, 150, 151, 154, 156, 157, 160, 167, 176, 180, 183, 186, 192, 194, 195, 199, 201, 205, 213, 217, 219, 225, 230, 233 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
8 is a term because nextprime(8) = 11 and 811 is prime.
MATHEMATICA
Select[Range[0, 250], PrimeQ@FromDigits@Flatten[IntegerDigits/@{#, NextPrime@#}]&] (* Giorgos Kalogeropoulos, Jul 30 2021 *)
PROG
(PARI) isok(m) = isprime(eval(Str(m, nextprime(m+1)))); \\ Michel Marcus, Oct 03 2014 and Jul 30 2021
CROSSREFS
Sequence in context: A050675 A262981 A336745 * A047278 A242204 A172209
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Oct 15 1998
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 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)