OFFSET
1,2
EXAMPLE
a(2) = 2 + 3 + 4 = 9;
a(3) = 3 + 4 + 5 + 6 = 18;
a(4) = 4 + 5 + 6 + 7 + 8 = 30.
MAPLE
PROG
(PARI) print1(n=1); p=3; forprime(q=5, 97, for(k=p+1, q-1, print1(", "k*(k+1)/2-n++*(n-1)/2)); p=q) \\ Charles R Greathouse IV, Sep 03 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Juri-Stepan Gerasimov, Jun 14 2009
EXTENSIONS
a(26) corrected and extended by R. J. Mathar, Aug 03 2009
Definition rephrased by R. J. Mathar, Sep 11 2009
STATUS
approved