OFFSET
0,3
COMMENTS
a(n) = a(n-1)+A137345(n).
MAPLE
P:=proc(n) local a, b, i, k; a:=0; k:=0; for i from 1 by 1 to n do a:=a+i; b:=(binomial(a, i) mod i); k:=k+b; print(k); od; end: P(101);
MATHEMATICA
Rest[RecurrenceTable[{a[0]==0, a[n]==a[n-1]+Mod[Binomial[n (n+1)/2, n], n]}, a, {n, 60}]] (* Harvey P. Dale, Dec 14 2011 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paolo P. Lava and Giorgio Balzarotti, Apr 08 2008, Apr 14 2008
STATUS
approved