Suppsoe that $$c = \frac{(a+b)(a+b+1)}{2} + b$$
Now $c$ is given - how does one find satisfying $a, b$?
Suppsoe that $$c = \frac{(a+b)(a+b+1)}{2} + b$$
Now $c$ is given - how does one find satisfying $a, b$?
Assuming you have the condition that $a,b,c$ are natural numbers.
Let $T_n=\frac{n(n+1)}{2}$ be the $n$th triangular number.
Let $T_m$ be the largest triangular number less than or equal to $c$.
Show that $c-T_m\leq m$
Let $a=c-T_m$ and $b=m-a$.
You can actually get an explicit formula for $m$, namely: $$m=\left\lfloor \frac{-1+\sqrt{8c+1}}{2}\right\rfloor$$
the equation:
$c=\frac{(a+b)(a+b+1)}{2}+b$
Solutions can be written:
$a=\frac{q(q\pm1)}{2}-c-1$
$b=c-\frac{q(q\mp1)}{2}$
$q$ - what some integer.