Is it true only for primes? Is there a case for which the rule holds but p isn't prime?
https://en.wikipedia.org/wiki/Wolstenholme%27s_theorem#Gener...
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#Gener...
Today I found something called Wolstenholme’s
theorem, which says:
A number n (> 3) is prime if the numerator
of H(n-1) is a multiple of n², where
H(n) = 1/1 + 1/2 + ... 1/n
No, no, no, no, no ...The theorem says:
For a prime p > 3, the numerator of H_{p-1}
is divisible by p^2.
You have your "if" condition the wrong way round.I've tried to comment on your blog, but it requires a login using any of several techniques, none of which I use, and none of which I'm willing to create just for this. So I didn't.