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

A177806
Triangle read by rows: T(n,k) = prime(k)^(n-1) mod prime(n), 1 <= k <= n.
2
1, 2, 0, 4, 4, 0, 1, 6, 6, 0, 5, 4, 9, 3, 0, 6, 9, 5, 11, 7, 0, 13, 15, 2, 9, 8, 16, 0, 14, 2, 16, 7, 11, 10, 5, 0, 3, 6, 16, 12, 8, 2, 18, 9, 0, 19, 21, 4, 20, 2, 5, 17, 11, 7, 0, 1, 25, 5, 25, 5, 5, 25, 25, 1, 1, 0, 13, 28, 2, 12, 27, 15, 32, 20, 29, 23, 6, 0, 37, 40, 16, 31, 23, 4, 23, 31, 37, 25, 18, 16, 0
OFFSET
1,2
COMMENTS
First column is A175036.
EXAMPLE
Triangle begins:
1;
2, 0;
4, 4, 0;
1, 6, 6, 0;
5, 4, 9, 3, 0;
MAPLE
A177806 := proc(n, k) modp((ithprime(k))^(n-1), ithprime(n)) ; end proc:
seq(seq(A177806(n, k), k=1..n), n=1..15) ;
MATHEMATICA
Table[PowerMod[Prime[Range[n]], n-1, Prime[n]], {n, 15}] (* Paolo Xausa, Jun 29 2024 *)
CROSSREFS
Sequence in context: A093443 A366372 A099092 * A286550 A366282 A364258
KEYWORD
nonn,tabl
AUTHOR
STATUS
approved