Problem

Source:

Tags: number theory, 3rd edition



An integer $z$ is said to be a friendly integer if $|z|$ is not the square of an integer. Determine all integers $n$ such that there exists an infinite number of triplets of distinct friendly integers $(a, b, c)$ such that $n = a+b+c$ and $abc$ is the square of an odd integer.