Consider flipping a coin three times and assume that the result is a uniformly random element from the sample space
\begin{equation*}
S = \{ HHH , HHT , HTH , THH , HTT , THT , TTH , TTT \} ,
\end{equation*}
where, e.g., \(HHT\) indicates that the first two flips result in heads and the third flip results in tails. Define the events
\begin{equation*}
A = \text{"flips 1 and 2 have the same outcome"},
\end{equation*}
\begin{equation*}
B = \text{"flips 2 and 3 have the same outcome"},
\end{equation*}
and
\begin{equation*}
C = \text{"flips 1 and 3 have the same outcome".}
\end{equation*}
If we write these events as subsets of the sample space, then we get
\begin{equation*}
A = \{ HHH , HHT , TTH , TTT \} ,
\end{equation*}
\begin{equation*}
B = \{ HHH , THH , HTT , TTT \} ,
\end{equation*}
and
\begin{equation*}
C = \{ HHH , HTH , THT , TTT \} .
\end{equation*}
It follows that
\begin{equation*}
\begin{array}{ccccccc}
P(A) & = & |A|/|S| & = & 4/8 & = & 1/2 , \\
P(B) & = & |B|/|S| & = & 4/8 & = & 1/2 , \\
P(C) & = & |C|/|S| & = & 4/8 & = & 1/2 , \\
P(A \cap B) & = & |A \cap B|/|S| & = & 2/8 & = & 1/4 , \\
P(A \cap C) & = & |A \cap C|/|S| & = & 2/8 & = & 1/4 , \\
P(B \cap C) & = & |B \cap C|/|S| & = & 2/8 & = & 1/4 .
\end{array}
\end{equation*}
Thus, the sequence \(A,B,C\) is pairwise independent. Since
\begin{equation*}
A \cap B \cap C = \{ HHH , TTT \} ,
\end{equation*}
we have
\begin{equation*}
P(A \cap B \cap C) = |A \cap B \cap C|/|S| = 2/8 = 1/4 .
\end{equation*}
Thus,
\begin{equation*}
P(A \cap B \cap C) \neq P(A) \cdot P(B) \cdot P(C)
\end{equation*}
and, therefore, the sequence \(A,B,C\) is not mutually independent. Of course, this is not surprising: If both events \(A\) and \(B\) occur, then event \(C\) also occurs.