Primesmedium
0:00.0

For prime p, calculate (1 × 2 × 3 × ... × (p-1)) mod p.