The Pattern in the Prime Squares

An analyst playing with primes notices that 52−1=24 5^2 - 1 = 24 , 72−1=48 7^2 - 1 = 48 , 112−1=120 11^2 - 1 = 120 , and 132−1=168 13^2 - 1 = 168 are all multiples of 24 24 . Prove that this is no coincidence: for every prime p>3 p > 3 , the number p2−1 p^2 - 1 is divisible by 24 24 .

Answer

Free accounts unlock one worked solution a day. Pro includes every answer.