login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A175623 Triangle read by rows: T(n,k) = prime(k)^(n-1) mod n, 1<=k<=n. 1
0, 0, 1, 1, 0, 1, 0, 3, 1, 3, 1, 1, 0, 1, 1, 2, 3, 5, 1, 5, 1, 1, 1, 1, 0, 1, 1, 1, 0, 3, 5, 7, 3, 5, 1, 3, 4, 0, 7, 4, 4, 7, 1, 1, 7, 2, 3, 5, 7, 1, 3, 7, 9, 3, 9, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 8, 3, 5, 7, 11, 1, 5, 7, 11, 5, 7, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,8
LINKS
EXAMPLE
Triangle begins:
0;
0, 1;
1, 0, 1;
0, 3, 1, 3;
1, 1, 0, 1, 1;
MATHEMATICA
T[n_, k_] := Mod[ Prime[k]^(n - 1), n]; Table[ T[n, k], {n, 13}, {k, n}] // Flatten
Flatten[Table[PowerMod[Prime[k], n-1, n], {n, 20}, {k, n}]] (* Harvey P. Dale, Oct 13 2015 *)
PROG
(Magma)
[Modexp(NthPrime(k), n-1, n): k in [1..n], n in [1..15]]; // G. C. Greubel, Apr 12 2024
(SageMath)
flatten([[pow(nth_prime(k), n-1, n) for k in range(1, n+1)] for n in range(1, 16)]) # G. C. Greubel, Apr 12 2024
CROSSREFS
Sequence in context: A132301 A073272 A268442 * A121273 A063065 A324724
KEYWORD
nonn,easy,tabl,changed
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)