The following proposition provides also a very inefficient method of prooving if an integer is a prime number.
An integer $n > 1$ is a prime number if and only if the following congruence holds:
$$(n-1)!\equiv -1\mod n.$$
|
|
|
|
| created: 2019-05-11 19:54:19 | modified: 2019-06-22 08:49:15 | by: bookofproofs | references: [1272]
[1272] Landau, Edmund: “Vorlesungen über Zahlentheorie, Aus der Elementaren Zahlentheorie”, S. Hirzel, Leipzig, 1927