login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A214442
Arithmetic mean of next a(n) > 1 successive odd primes is prime.
2
3, 18, 3318, 39193162, 943016093, 390502539, 3
OFFSET
1,1
COMMENTS
Two or more primes in the arithmetic mean.
Corresponding prime arithmetic means: 5, 43, 14639, 369687067, 11370090223, 27055575571, 31756143437
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