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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A060271 Difference between smallest prime following and largest prime preceding 2*(nth prime). 0
2, 4, 4, 4, 6, 6, 4, 4, 6, 6, 6, 4, 6, 8, 4, 14, 14, 6, 10, 10, 6, 4, 6, 4, 12, 12, 12, 12, 4, 6, 6, 6, 4, 14, 14, 4, 14, 6, 10, 6, 8, 4, 6, 8, 4, 10, 6, 8, 4, 4, 12, 8, 4, 12, 18, 18, 6, 10, 6, 6, 10, 4, 12, 12, 10, 12, 4, 10, 10, 8, 10, 6, 8, 4, 8, 14, 10, 12, 10, 10, 14, 4, 14, 4, 4, 20, 8 (list; graph; refs; listen; history; internal format)
OFFSET

2,1

EXAMPLE

n=1: p(1)=2, 2p(1)=4 is between 3 and 5, their difference is 2=a(1); n=6: p(6)=13, 2p(6)=26 is between 23 and 29 and their difference is 6=a(6).

MAPLE

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

CROSSREFS

Cf. A059786-A059790, A013633, A058043, A058249, A058044, A060267, A001223.

Sequence in context: A035633 A160803 A084291 * A073806 A060849 A130819

Adjacent sequences:  A060268 A060269 A060270 * A060272 A060273 A060274

KEYWORD

nonn

AUTHOR

Labos E. (labos(AT)ana.sote.hu), Mar 23 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 16 14:37 EST 2012. Contains 205930 sequences.