OFFSET
1,3
EXAMPLE
Seventh row is 0, 7, 7, 21, 7, 7, 0, so a(7) = 49.
PROG
(Magma) [ &+[ (j^k) mod (j*k): k in [1..j] ]: j in [1..47] ];
CROSSREFS
KEYWORD
nonn
AUTHOR
Klaus Brockhaus, May 29 2009
STATUS
approved