S000451


Least number not in the irregular table of k! mod p for k = 1..p-1 for primes p.

3, 4, 3, 4, 4, 3, 10, 7, 3, 3, 3, 5, 3, 8, 3, 3, 10, 4, 7, 3, 3, 7, 8, 4, 5, 3, 3, 3, 4, 3, 3, 4, 5, 9, 5, 4, 4, 4, 3, 5, 7, 3, 3, 4, 3, 4, 8, 4, 3, 5, 7, 4, 3, 3, 3, 3, 3, 5, 5, 12, 3, 4, 7, 9, 5, 5, 7, 3, 3, 4, 3, 3, 4, 3, 3, 3, 4, 7, 3, 5, 5, 7, 9, 5, 3, 4, 7

3

S000451

Note that 1 and 2 are always in the table k! mod p.

T. D. Noe, Plot of terms 3 to 1000

T. D. Noe, Table of terms 3 to 1000

Tim Trudgian, There are no socialist primes less than 10^9, Integers 14 (2014), A63.

(Mma) nn = 100; f = Table[n!, {n, Prime[nn]}]; Table[s = Table[Mod[f[[n]], p], {n, p - 1}]; Complement[Range[p - 1], Union[s]][[1]], {p, Prime[Range[3, nn]]}]

Cf. S000447, S000452.

nonn

T. D. Noe, Jan 12 2015

© Tony D Noe 2014-2015