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

A094263
Triangle read by rows: for 1 <= k <= n, a(n, k) = n^k mod k.
4
0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 2, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 2, 1, 0, 0, 0, 2, 0, 3, 4, 1, 0, 0, 1, 0, 1, 4, 3, 2, 1, 0, 0, 0, 1, 0, 0, 4, 3, 0, 1, 0, 0, 1, 2, 1, 1, 1, 4, 1, 8, 1, 0, 0, 0, 0, 0, 2, 0, 5, 0, 0, 4, 1, 0, 0, 1, 1, 1, 3, 1, 6, 1, 1, 9, 2, 1, 0, 0, 0, 2, 0, 4, 4, 0, 0, 8, 6, 3, 4, 1, 0
OFFSET
1,13
LINKS
MATHEMATICA
Table[PowerMod[n, k, k], {n, 20}, {k, n}]//Flatten (* Harvey P. Dale, Apr 14 2020 *)
CROSSREFS
Sequence in context: A286561 A378452 A068101 * A049761 A211225 A030618
KEYWORD
nonn,easy,tabl,less
AUTHOR
Amarnath Murthy, Apr 26 2004
EXTENSIONS
Edited and extended by David Wasserman, Jan 24 2007
STATUS
approved