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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A104197 Largest nonnegative integer r such that Prime(n) + r and Prime(n) - r are both prime. 0
0, 0, 2, 4, 8, 10, 14, 12, 20, 24 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

a(n) can be thought of as the radius of the largest 1-dimensional circle centered at Prime(n) and consisting entirely of primes.

LINKS

Table of n, a(n) for n=0..9.

EXAMPLE

r = 4 is the largest nonnegative integer r such that Prime(4) + 4 = 11 and

Prime(4) - 4 = 3 are both prime; so a(4) = 4.

CROSSREFS

Sequence in context: A190751 A030232 A102024 * A189792 A189782 A047235

Adjacent sequences:  A104194 A104195 A104196 * A104198 A104199 A104200

KEYWORD

easy,nonn

AUTHOR

Joseph L. Pe (joseph_l_pe(AT)hotmail.com), Mar 12 2005

STATUS

approved

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 June 19 01:27 EDT 2013. Contains 226359 sequences.