login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A157351
Row sums of triangle T(j,k) = (j^k) mod (j*k) for 1 <= k <= j (see A096133).
1
0, 0, 3, 4, 15, 6, 49, 40, 72, 70, 220, 60, 299, 350, 390, 416, 578, 468, 931, 1000, 1281, 1320, 2001, 1008, 2225, 2028, 2808, 2464, 2755, 1410, 5146, 3648, 4950, 3978, 6125, 4536, 7030, 9500, 9789, 9640, 11480, 6552, 12599, 12188, 12555, 12236, 19364
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
Cf. A096133.
Sequence in context: A258468 A327275 A343939 * A071167 A194924 A205489
KEYWORD
nonn
AUTHOR
Klaus Brockhaus, May 29 2009
STATUS
approved