I'm trying to formulate a linear constraint
$$Ax\leq b$$ $$x\in\{0,1\}^n$$
such that the feasible set is exactly those binary vectors $x$ with a single contiguous string of ones of length $k$.
For example, if $n=4$ and $k=2$, then it would be the vectors:
$$(1,1,0,0)$$ $$(0,1,1,0)$$ $$(0,0,1,1)$$
I've so far been unsuccessful at finding a suitable $A$ and $b$, can anyone help me out with this?