Jacob uses the following procedure to write down a sequence of numbers. First he chooses the first term to be 6. To generate each succeeding term, he flips a fair coin. If it comes up heads, he doubles the previous term and subtracts 1. If it comes up tails, he takes half of the previous term and subtracts 1. What is the probability that the fourth term in Jacob's sequence is an [integer](https://artofproblemsolving.com/wiki/index.php/Integer)?
$\mathrm{(A)}\ \frac{1}{6}\qquad\mathrm{(B)}\ \frac{1}{3}\qquad\mathrm{(C)}\ \frac{1}{2}\qquad\mathrm{(D)}\ \frac{5}{8}\qquad\mathrm{(E)}\ \frac{3}{4}$
We construct a tree showing all possible outcomes that Jacob may get after $3$ flips; we can do this because there are only $8$ possibilities:
\[6\quad\begin{cases}  \ \text{H}: 11 &\quad  \begin{cases}  \ \text{H}: 21 &\quad \begin{cases} \ \text{H}: \boxed{41}\\ \ \text{T}: 9.5 \end{cases}\\  \ \text{T}: 4.5 &\quad \begin{cases} \ \text{H}: \boxed{8}\\ \ \text{T}: 1.25 \end{cases}  \end{cases}\\  \ \text{T}: 2 &\quad  \begin{cases}  \ \text{H}: 3 &\qquad\! \begin{cases} \ \text{H}: \boxed{5}\\ \ \text{T}: 0.5 \end{cases}\\  \ \text{T}: 0 &\qquad\! \begin{cases} \ \text{H}: \boxed{-1}\\ \ \text{T}: \boxed{-1} \end{cases} \end{cases} \end{cases}\]
There is a $\frac{5}{8}$ chance that the fourth term in Jacob's sequence is an integer, so the answer is $\mathrm{(D)}$.