Skip to main content.

Hint to puzzle 158: Fermat squares

Writing (2p−1 − 1)/p = a2, and thus 2p−1 − 1 = pa2, factorize the left-hand side of the equation and show that the two factors are relatively prime.