OFFSET
2,2
COMMENTS
Is the limit of a(n)/n finite?
FORMULA
a(n) = floor((2/(n*(n-1))*Sum_{j=2..n} Sum_{i=1..j-1} (prime(j) - prime(i))).
MATHEMATICA
nmax=64;
Table[Total[Flatten[Table[Table[Prime[k] - Prime[j], {j, 1, k - 1}], {k, 2, n}]]]/(n*(n - 1)/2), {n, 2, nmax}]//Floor
CROSSREFS
KEYWORD
nonn
AUTHOR
Andres Cicuttin, Nov 19 2020
STATUS
approved