= Overlapping moving sum need not be Markov
A moving sum of <independent random variables> need not be a <Markov chain>. Let $X_0,X_1,\ldots$ be <independent> Bernoulli <random variables> with success <Probability> $1/2$, and define $K_n=X_{n-1}+X_n$ for $n\geq1$.
Knowing only $K_n=1$ leaves the two possibilities $(X_{n-1},X_n)=(0,1)$ and $(1,0)$ equally likely. <independence> of $X_{n+1}$ gives
$$
\mathbb P(K_{n+1}=2\mid K_n=1)=\tfrac14.
$$
But the positive-probability <event> $\{K_{n-1}=0,K_n=1\}$ forces $X_n=1$, so
$$
\mathbb P(K_{n+1}=2\mid K_n=1,K_{n-1}=0)=\tfrac12.
$$
The previous observed sum therefore changes the next-state <Conditional distribution> even after conditioning on the current sum, violating the <Markov property>. The hidden overlap variable is the reason. By contrast, retaining the pair $(X_{n-1},X_n)$ as the state gives a <Markov chain>.
Back to article page