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!)
A034810 Concatenation of 'prevprime(n) and n and nextprime(n)' is a prime. 0
7, 10, 13, 16, 19, 36, 37, 40, 43, 46, 58, 63, 74, 85, 88, 97, 98, 104, 125, 132, 143, 153, 156, 164, 168, 169, 175, 188, 196, 203, 206, 222, 224, 233, 241, 269, 292, 304, 305, 308, 311, 317, 331, 333, 338, 344, 359, 364, 367, 368, 372, 382, 389, 395, 397, 409 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
EXAMPLE
n=88 --> previous prime is 83, next prime is 89, thus '838889' is a prime.
MATHEMATICA
coQ[n_]:=PrimeQ[FromDigits[Flatten[IntegerDigits[{NextPrime[n, -1], n, NextPrime[n]}]]]]; Select[Range[3, 409], coQ[#]&] (* Jayanta Basu, May 30 2013 *)
CROSSREFS
Sequence in context: A184106 A112414 A329387 * A154487 A023390 A096678
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 23 20:33 EDT 2024. Contains 371916 sequences. (Running on oeis4.)