OFFSET
1,5
MATHEMATICA
f[n_]:=Block[{i=1, j, c=0, m}, While[Prime[i]<=n, j=1; While[m=Sum[Prime[k], {k, i, i+j-1}]/j; If[m==n, c++ ]; m<n, j++ ]; i++ ]; c]; Table[f[n], {n, 120}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ray Chandler, Sep 28 2006
STATUS
approved