S000620


Irregular table of m! (mod p), where p = prime(n) and m varies from 1 to p.

1, 0, 1, 2, 0, 1, 2, 1, 4, 0, 1, 2, 6, 3, 1, 6, 0, 1, 2, 6, 2, 10, 5, 2, 5, 1, 10, 0, 1, 2, 6, 11, 3, 5, 9, 7, 11, 6, 1, 12, 0, 1, 2, 6, 7, 1, 6, 8, 13, 15, 14, 1, 12, 3, 8, 1, 16, 0, 1, 2, 6, 5, 6, 17, 5, 2, 18, 9, 4, 10, 16, 15, 16, 9, 1, 18, 0, 1, 2, 6, 1, 5, 7

1

S000620

Note that each row ends with 0.

T. D. Noe, Plot of 50 rows

T. D. Noe, Table of 50 rows

Kevin A. Broughan and A. Ross Barnett, On the missing values of n! mod p, J. Ramanujan Math. Soc., 24(3):277–284, 2009.

Oleksiy Klurman and Marc Munsch, Distribution of factorials modulo p, arXiv 1505.01198 (May 05 2015)

(Mma) Table[Mod[Range[p]!, p], {p, Prime[Range[10]]}]

Cf. A210184, S000621, S000622.

nonn

T. D. Noe, May 07 2015

© Tony D Noe 2014-2015