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!)
A256472 Primes p for which there are exactly as many primes in the range [p^2, p*nextprime(p)] as there are in the range [p*nextprime(p), nextprime(p)^2], where nextprime(p) gives the next prime after prime p. 5
2, 29, 43, 59, 71, 463, 601, 881, 1049, 1103, 1171, 1451, 2311, 2591, 2689, 2693, 2777, 3083, 3089, 3917, 8543, 12889, 13007, 13799, 13873, 13877, 15497, 18457, 19477, 20369, 23017, 25073, 26641, 29179, 32801, 33757, 35327, 41647, 43987, 46279, 47041, 49211, 51577, 63113 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A000040(A256471(n)).
EXAMPLE
For p=2, we have in the range [2*2, 2*3] just one prime {5}, and also in the latter range [2*3, 3*3] just one prime {7}, thus 2 is included in the sequence.
MATHEMATICA
Select[Prime@ Range@ 500, Count[Range[#^2, # NextPrime[#]], _?PrimeQ] == Count[Range[# NextPrime[#], NextPrime[#]^2], _?PrimeQ] &] (* Michael De Vlieger, Mar 30 2015 *)
PROG
(Scheme) (define (A256472 n) (A000040 (A256471 n)))
CROSSREFS
Subsequence of A256484.
Sequence in context: A078329 A340633 A252892 * A330895 A105893 A366692
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 30 2015
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 16 17:08 EDT 2024. Contains 371749 sequences. (Running on oeis4.)