3 ms·
Being true for primes does not mean that it's true only for primes. With regards composites the result (as it stands) says nothing, so for a given composite it
by ColinWright 11y ago
Being true for primes does not mean that it's true only for primes. With regards composites the result (as it stands) says nothing, so for a given composite it might be true or false, and you'd need to test.
That means that if a number fails this test then it's definitely not prime, but if it passes then it may or may not be prime.
However, this link (as included in another comment) gives more information:
https://en.wikipedia.org/wiki/Wolstenholme%27s_theorem#Generalizations https://en.wikipedia.org/wiki/Wolstenholme%27s_theorem#Gener...