OFFSET
1,1
COMMENTS
It is obvious that the terms occur in increasing order, since the mean increases by (prime(n)-prime(n-10))/10 when going to the 10 primes which include prime(n) as largest term. However, differences of 6, as e.g. between the terms a(n)=9813497 and a(n+1)=9813503 (= average of prime(653096) through prime(653105)), seem to occur infinitely often. Is this true, and is this the smallest such step? - M. F. Hasler, Oct 21 2012
Also difference 5 seems to occur infinitely often. For first 200000 differences, values 5..10 occur 5, 57, 123, 400, 1755, 1439 times. Apparently all differences >4 occur infinitely often. - Zak Seidov, May 22 2015
LINKS
Zak Seidov, Table of n, a(n) for n = 1..1000
EXAMPLE
a(1) is derived from (prime(6)+...+prime(15))/10 = (13+ 17+ 19+ 23+ 29+ 31+ 37+ 41+ 43+ 47)/10=30.
MAPLE
Psums:= ListTools:-PartialSums(select(isprime, [2, (2*i+1 $ i=1..10^4)])):
select(type, (Psums[11..-1] - Psums[1..-11])/10, integer); # Robert Israel, May 22 2015
MATHEMATICA
Select[Total /@ Partition[Prime@ Range@ 263, 10, 1]/10, IntegerQ] (* Michael De Vlieger, May 22 2015 *)
Select[Mean/@Partition[Prime[Range[300]], 10, 1], IntegerQ] (* Harvey P. Dale, Aug 28 2021 *)
PROG
(PARI) lista(nn) = {for (n=1, nn, my(s = sum(k=0, 9, prime(n+k))/10); if (type(s) == "t_INT", print1(s, ", ")); ); } \\ Michel Marcus, May 23 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Oct 21 2012
STATUS
approved