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!)
A063535 Primes prime(n) such that prime(n+1)^2 < prime(n)*prime(n+2). 3
2, 5, 11, 17, 19, 29, 41, 43, 59, 71, 79, 83, 101, 107, 109, 127, 137, 149, 163, 179, 191, 197, 227, 229, 239, 269, 281, 283, 311, 313, 331, 347, 349, 353, 379, 383, 397, 401, 419, 431, 439, 443, 461, 463, 487, 499, 503, 521, 541, 569, 571, 599, 617, 641, 643 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
Conjecture: these are the primes such that prime(n+2) - 2*prime(n+1) + prime(n) > 0. If so, this sequence with A122535 and A147812 partition the primes. - Clark Kimberling, May 16 2015
LINKS
EXAMPLE
a(2) = 5 because 7*7 < 5*11.
MAPLE
N:= 1000: # to get all entries where prime(n+2) <= N
Primes:= select(isprime, [2, seq(2*i+1, i=1..floor((N-1)/2))]):
J:= select(j -> Primes[j+1]^2<Primes[j]*Primes[j+2], [$1..nops(Primes)-2]):
Primes[J]; # Robert Israel, Jun 23 2015
PROG
(PARI) j=[]; for(n=1, 400, if(prime(n+1)^2<(prime(n)*prime(n+2)), j=concat(j, prime(n)))); j
(PARI) { n=-1; for (m=1, 10^9, if (prime(m + 1)^2 < prime(m)*prime(m + 2), write("b063535.txt", n++, " ", prime(m)); if (n==1000, break)) ) } \\ Harry J. Smith, Aug 25 2009
CROSSREFS
Sequence in context: A239712 A224363 A307508 * A091653 A088348 A156004
KEYWORD
nonn,easy
AUTHOR
Michel ten Voorde, Aug 02 2001
EXTENSIONS
More terms from Jason Earls, Aug 03 2001
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 17:07 EDT 2024. Contains 372603 sequences. (Running on oeis4.)