login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A214442 Arithmetic mean of next a(n) > 1 successive odd primes is prime. 2
3, 18, 3318, 39193162, 943016093, 390502539, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Two or more primes in the arithmetic mean.
Corresponding prime arithmetic means: 5, 43, 14639, 369687067, 11370090223, 27055575571, 31756143437
LINKS
EXAMPLE
(3+5+7)/3 is prime, so a(1)=3; next (11+13+...+73+79)/18=43 is prime, so a(2)=18.
MATHEMATICA
n = 1; Table[n++; s = Prime[n]; num = 1; While[num == 1 || ! PrimeQ[s/num], n++; num++; s = s + Prime[n]]; num, {3}] (* T. D. Noe, Jul 23 2012 *)
CROSSREFS
Sequence in context: A335181 A297536 A157556 * A057133 A321249 A001999
KEYWORD
nonn,more
AUTHOR
Alex Ratushnyak, Jul 18 2012
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 23:15 EDT 2024. Contains 371798 sequences. (Running on oeis4.)