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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A087378 Smallest k such that both k-n and k+n are primes and there are no primes between them. 0
2, 4, 9, 26, 93, 144, 205, 120, 1839, 532, 897, 1140, 1681, 2490, 2985, 4312, 5607, 1344, 9569, 30612, 19353, 16162, 15705, 81486, 28253, 31932, 19635, 35644, 82101, 44322, 43361, 34092, 89721, 162176, 134547, 173394, 31433, 404634, 212739 (list; graph; refs; listen; history; internal format)
OFFSET

0,1

COMMENTS

For n>0, a(n) = arithmetic mean of the smallest pair of two consecutive primes with a difference 2n.

FORMULA

a(n) = A000230(n)+n. - David Wasserman (wasserma(AT)spawar.navy.mil), May 24 2005

EXAMPLE

a(5) = 144 as 139 and 149 both are prime and all numbers from 140 to 148 are composite.

CROSSREFS

Sequence in context: A124835 A125799 A188669 * A004252 A114957 A002773

Adjacent sequences:  A087375 A087376 A087377 * A087379 A087380 A087381

KEYWORD

nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Sep 09 2003

EXTENSIONS

More terms from David Wasserman (wasserma(AT)spawar.navy.mil), May 24 2005

Edited by Franklin T. Adams-Watters (FrankTAW(AT)Netscape.net), Oct 26 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 15 15:20 EST 2012. Contains 205823 sequences.