Problem

Source: OMK 2018 Muda, Section B Problem 3

Tags: number theory, Perfect Squares



Let $n$ be an integer greater than $1$, such that $3n + 1$ is a perfect square. Prove that $n + 1$ can be expressed as a sum of three perfect squares.