Problem

Source: Germany 2019, Problem 4

Tags: algebra, polynomial, number theory



Show that for each non-negative integer $n$ there are unique non-negative integers $x$ and $y$ such that we have \[n=\frac{(x+y)^2+3x+y}{2}.\]