login
A259430
a(n) is the arithmetic mean of the first n terms in A073883.
0
2, 2, 3, 5, 5, 7, 7, 11, 11, 13, 17, 17, 19, 23, 23, 29, 29, 31, 31, 37, 37, 41, 41, 43, 47, 47, 53, 53, 59, 59, 61, 67, 71, 71, 73, 73, 79, 83, 83, 89, 89, 97, 97, 101, 101, 103, 103, 107, 107, 109, 109, 113, 113, 127, 127, 131, 131, 137, 137, 149, 149, 151, 151, 149, 151, 157, 163, 163, 167, 167, 173, 173, 179, 179
OFFSET
2,1
COMMENTS
By definition of A073883, each term is prime.
Are all the primes reached?
EXAMPLE
A073883 starts: 1, 3, 2, 6, 13, 5, 19, 7, 43, 11, 33, 61, ...
So a(2) = (1+3)/2 = 2, a(3) = (1+3+2)/3 = 2, a(4) = (1+3+2+6)/4 = 3, a(5) = (1+3+2+6+13)/5 = 5, etc..
PROG
(PARI) v=[1]; n=1; while(#v<200, s=(n+vecsum(v))/(#v+1); if(type(s)=="t_INT", if(isprime(s)&&!vecsearch(vecsort(v), n), print1(s, ", "); v=concat(v, n); n=0)); n++)
CROSSREFS
Cf. A073883.
Sequence in context: A113636 A262463 A151800 * A290838 A056896 A089366
KEYWORD
nonn
AUTHOR
Derek Orr, Jun 26 2015
STATUS
approved