OFFSET
1,1
COMMENTS
2_3_4_5 -> 4, 3_4_5_6_7 -> 4+6=10, 5_6_7_8_9_10_11 -> 6+8+9+10=33, ..
MATHEMATICA
f[n_, x_]:=n*x+x*(x+1)/2; Table[f[Prime[n], Prime[n+2]-Prime[n]-1]-Prime[n+1], {n, 5!}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Mar 21 2010
STATUS
approved