If I have an positive integer $x \in \mathbb{N}$ and I have $Z = \sum_{i = 0}^{n}{i}$ such that $Z \geq x$ and $Z - x \equiv 0 \bmod 2$ and $n$ is the smallest such integer it is possible to create and alternating sum from $1 \ldots n$ such that it equals $x$.
For example:
Say $x = 11$, then $Z = 15$ and $n = 5$ and the sum is $1 - 2 + 3 + 4 + 5$.
I see why the condition is necessary I don't see why it is sufficient.