Problem

Source: RMO 2023 P2

Tags: number theory, prime numbers



Given a prime number $p$ such that $2p$ is equal to the sum of the squares of some four consecutive positive integers. Prove that $p-7$ is divisible by 36.