Problem

Source: Brazilian Mathematical Olympiad 2021, Level 3, Problem 5

Tags: number theory, equation, square, triplets



Find all triples of non-negative integers \((a, b, c)\) such that \[a^{2}+b^{2}+c^{2} = a b c+1.\]