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!)
A192390 Numbers n such that number of primes in the range (2^n-sqrt(2^n), 2^n] is equal to number of primes in the range (2^n, 2^n+sqrt(2^n)]. 0
1, 2, 6, 10, 21 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(6) > 60. Probably a finite sequence. [Charles R Greathouse IV, Jun 30 2011]
LINKS
EXAMPLE
a(1)=1 because 2 in range (2^1-sqrt(1), 2^1]=(1, 2] and 3 in range (2^1, 2^1+sqrt(1)]=(2, 3].
a(3)=6 because 59, 61 in range (2^6-sqrt(2^6), 2^6]=(56, 64] and 67, 71 in range (2^6, 2^6+sqrt(2^6)]=(64, 72].
a(4)=10 because 997, 1009, 1013, 1019, 1021 in range (2^10-sqrt(2^10), 2^10]=(992, 1024] and 1031, 1033, 1039, 1049, 1051 in range (2^10, 2^10+sqrt(2^10)]=(1024, 1056].
PROG
(PARI) ct(a, b)=sum(k=floor(a)+1, b, isprime(k))
is(n)=ct(2^n-sqrt(2^n-.5), 2^n)==ct(2^n, 2^n+sqrt(2^n+.5)) \\ Charles R Greathouse IV, Jul 19 2011
CROSSREFS
Sequence in context: A025588 A009325 A308346 * A272967 A067716 A125518
KEYWORD
nonn,more
AUTHOR
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 17 19:53 EDT 2024. Contains 372607 sequences. (Running on oeis4.)