The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A256473 Odd primes p for which there are exactly as many primes in the range [prevprime(p)^2, prevprime(p)*p] as there are in the range [prevprime(p)*p, p^2], where prevprime(p) gives the previous prime before prime p. 4
3, 31, 47, 61, 73, 467, 607, 883, 1051, 1109, 1181, 1453, 2333, 2593, 2693, 2699, 2789, 3089, 3109, 3919, 8563, 12893, 13009, 13807, 13877, 13879, 15511, 18461, 19483, 20389, 23021, 25087, 26647, 29191, 32803, 33767, 35339, 41651, 43991, 46301, 47051, 49223, 51581, 63127 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A065091(A256471(n)) = A000040(1+A256471(n)).
EXAMPLE
For p=3, 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 3 is included in the sequence.
MATHEMATICA
Select[Prime@ Range[2, 500], Count[Range[NextPrime[#, -1]^2, # NextPrime[#, -1]], _?PrimeQ] == Count[Range[# NextPrime[#, -1], #^2], _?PrimeQ] &] (* Michael De Vlieger, Mar 30 2015 *)
PROG
(Scheme) (define (A256473 n) (A000040 (+ 1 (A256471 n))))
CROSSREFS
Sequence in context: A177104 A078330 A107210 * A119739 A163579 A290401
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 May 21 00:14 EDT 2024. Contains 372720 sequences. (Running on oeis4.)