Consider a sequence of integers $n_i,\ i=1,\ldots, N$ and $\nu_k=\sum_{i=k}^N n_i$. Consider a sequence $\Delta_i,\ i=0,\ldots, N+1$ with $\Delta_i\in \{0,1\}$ and $\Delta_0=\Delta_{N+1}=0$. For $i=0,\ldots,N-1$, consider $$\epsilon_i=\frac{n_i+\Delta_i-\Delta_{i-1}}{2}+\partial_i-\partial_{i+1},\qquad \epsilon_N=\frac{n_N-\Delta_{N-1}}{2}+\partial_N$$ where $$\partial_i=\left\{ \begin{array}{cc} \Delta_{i} & if\ \nu_{i}-\Delta_{i-1}\ is\ even \\ \frac{1}{2} & else \end{array}\right.$$ Show that there exists a unique sequence $\Delta_i$ such that
if $\Delta_i=1$ then $\epsilon_i\geq n_i$
else $\epsilon_i \geq 2-\Delta_{i-1}-\Delta_{i+1}$