OFFSET
2,1
COMMENTS
Questions: Is s(n) = (1/n)*Sum_{i=2..n+1} a(i) > 1/2 for all n? Does s(n) --> 1/2?
EXAMPLE
a(1) = (prime(2 + 1) - prime(2))/2 (mod 2) = (5 - 3)/2 (mod 2) = 1 mod 2 = 1.
MATHEMATICA
Table[Mod[(Prime[i + 1] - Prime[i])/2, 2], {i, 2, 100}]
Mod[(#[[2]]-#[[1]])/2, 2]&/@Partition[Prime[Range[2, 110]], 2, 1] (* Harvey P. Dale, Oct 01 2018 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Joseph L. Pe, Mar 06 2005
STATUS
approved