login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A059790 Distance between 2*(nth prime) and nearest prime. 2
1, 1, 1, 1, 1, 3, 3, 1, 1, 1, 1, 1, 1, 3, 3, 1, 5, 5, 3, 3, 3, 1, 1, 1, 1, 3, 5, 3, 5, 1, 3, 1, 3, 1, 5, 5, 1, 5, 3, 1, 1, 3, 1, 3, 3, 1, 1, 3, 3, 1, 1, 1, 3, 1, 5, 3, 3, 1, 3, 1, 3, 1, 1, 3, 5, 3, 1, 1, 3, 3, 3, 1, 1, 3, 1, 3, 5, 3, 5, 3, 1, 3, 1, 3, 1, 1, 9, 3, 3, 3, 3, 5, 3, 1, 1, 3, 1, 3, 3, 5, 1, 3, 3, 9, 9 (list; graph; refs; listen; history; internal format)
OFFSET

0,6

EXAMPLE

Distance 1 means that either 2p+1 or 2p-1 is also prime.

MAPLE

with(numtheory): [seq(min(2*ithprime(k)-prevprime(2*ithprime(k)), nextprime(2*ithprime(k))-2*ithprime(k)), k=1..256)];

CROSSREFS

A005382-A005385.

Sequence in context: A065551 A059441 A186028 * A130778 A016554 A046533

Adjacent sequences:  A059787 A059788 A059789 * A059791 A059792 A059793

KEYWORD

nonn

AUTHOR

Labos E. (labos(AT)ana.sote.hu), Feb 22 2001

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 05:45 EST 2012. Contains 205694 sequences.