login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A082312 Half the difference between start and center prime of the smallest [2n+1]-balanced prime set (A082080). 1
1, 4, 5, 14, 11, 14, 12, 15, 32, 36, 32, 30, 41, 65, 42, 41, 53, 45, 75, 76, 69, 63, 99, 98, 60, 112, 99, 84, 94, 130, 132, 103, 87, 140, 172, 175, 144, 190, 171, 140, 200, 145, 203, 190, 155, 168, 202, 210, 144, 157, 254, 185, 189, 306, 201, 323, 303, 229, 267 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..59.

EXAMPLE

The smallest 5-balanced prime, 79 (center of 71,73,79,83,89) minus 8 is 71, so a(2)=8/2=4.

PROG

(PARI) for(n=1, 80, i=2*n+1; f=0; forprime(p=2, 10^7, s=0; c=i; pr=p-1; t=0; while(c>0, c=c-1; pr=nextprime(pr+1); s=s+pr; if(c==(i-1)/2, t=pr)); if(s/i==t, print1((t-p)/2", "); f=1; break)); if(!f, print1("0, ")))

CROSSREFS

Cf. A006562, A075540, A054800, A051795.

Sequence in context: A295278 A029663 A251723 * A239615 A195747 A238315

Adjacent sequences:  A082309 A082310 A082311 * A082313 A082314 A082315

KEYWORD

nonn

AUTHOR

Ralf Stephan, Apr 09 2003

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 23 13:14 EST 2020. Contains 332159 sequences. (Running on oeis4.)