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!)
A034811 Concatenation of 'nextprime(n) and n and prevprime(n)' is a prime. 1

%I #7 Oct 06 2019 18:20:20

%S 8,23,32,36,44,54,66,74,77,84,91,104,113,115,122,130,132,162,174,178,

%T 187,188,191,204,212,222,224,232,235,259,267,281,286,295,302,305,317,

%U 325,344,353,367,368,384,389,391,401,406,427,430,433,457,458,461,464

%N Concatenation of 'nextprime(n) and n and prevprime(n)' is a prime.

%H Harvey P. Dale, <a href="/A034811/b034811.txt">Table of n, a(n) for n = 0..1000</a>

%e n=353 -> next prime is 359, previous prime is 349, thus '359353349' is a prime.

%t Select[Range[500],PrimeQ[FromDigits[Flatten[IntegerDigits/@ { NextPrime[#], #, NextPrime[ #,-1]}]]]&] (* _Harvey P. Dale_, Jan 12 2016 *)

%Y Cf. A034808-A034821.

%K nonn,base

%O 0,1

%A _Patrick De Geest_, Oct 15 1998

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 19 14:04 EDT 2024. Contains 371792 sequences. (Running on oeis4.)