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”).

A096133
Triangle T(j,k) = (j^k) mod (j*k) for 1 <= k <= j, read by rows.
1
0, 0, 0, 0, 3, 0, 0, 0, 4, 0, 0, 5, 5, 5, 0, 0, 0, 0, 0, 6, 0, 0, 7, 7, 21, 7, 7, 0, 0, 0, 8, 0, 8, 16, 8, 0, 0, 9, 0, 9, 9, 27, 9, 9, 0, 0, 0, 10, 0, 0, 40, 10, 0, 10, 0, 0, 11, 11, 33, 11, 55, 11, 33, 44, 11, 0, 0, 0, 0, 0, 12, 0, 12, 0, 0, 24, 12, 0, 0, 13, 13, 13, 13, 13, 13, 65, 91, 39, 13, 13
OFFSET
1,5
EXAMPLE
0
0 0
0 3 0
0 0 4 0
0 5 5 5 0
0 0 0 0 6 0
0 7 7 21 7 7 0
PROG
(PARI) for(j=1, 13, for(k=1, j, print1((j^k)%(j*k), ", ")))
CROSSREFS
Row sums are in A157351. [From Klaus Brockhaus, May 30 2009]
Sequence in context: A278478 A364107 A122480 * A378036 A349379 A293381
KEYWORD
nonn,easy,tabl
AUTHOR
Amarnath Murthy, Jul 04 2004
EXTENSIONS
Edited and extended by Klaus Brockhaus, Jul 16 2004
STATUS
approved