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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A115206 Least number d such that p(n) -/+ 2d form a prime pair; p(n) being the n-th prime. 0
1, 2, 3, 3, 3, 6, 3, 6, 6, 3, 6, 12, 3, 3, 6, 9, 3, 6, 3, 9, 12, 9, 15, 6, 3, 3, 15, 12, 12, 9, 15, 6, 9, 6, 3, 18, 15, 3, 6, 9, 21, 15, 15, 21, 6, 30, 15, 24, 3, 6, 15, 6, 3, 3, 6, 21, 3, 6, 27, 12, 12, 21, 18, 18, 9, 15, 18, 9, 3, 21, 15, 3, 15, 18, 15, 12, 9, 6, 15, 6, 6, 12, 9, 12, 9, 42, 9 (list; graph; refs; listen; history; internal format)
OFFSET

3,2

FORMULA

a(n)=A078611(n)/2.

MATHEMATICA

f[n_] := Block[{k = 1, p = Prime@n}, While[ !PrimeQ[p - 2k] || !PrimeQ[p + 2k], k++ ]; k]; Table[f[n], {n, 3, 90}] - Robert G. Wilson v (rgwv(at)rgwv.com), Mar 14 2006

CROSSREFS

Sequence in context: A133700 A087688 A126854 * A093653 A205442 A049982

Adjacent sequences:  A115203 A115204 A115205 * A115207 A115208 A115209

KEYWORD

nonn

AUTHOR

Lekraj Beedassy (blekraj(AT)yahoo.com), Mar 04 2006

EXTENSIONS

Corrected by N. J. A. Sloane (njas(AT)research.att.com), Mar 05 2006

More terms from Robert G. Wilson v (rgwv(at)rgwv.com), Mar 14 2006

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 17 10:05 EST 2012. Contains 206009 sequences.