Let $a_n$ be the number of binary strings of length $n$ with the property that each entry is adjacent to at least one entry of the same type.
ex: $11000111$ is a valid string but $11011000$ is not valid
$\textbf{(a) Find $a_1,a_2,a_3,a_4,a_5,a_6,a_7$}$
If someone can check that my attempt is correct, I would really appreciate it.
$a_1=0$ since we cannot have just $0$ or just $1$ as there will be no adjacent of the same type
$a_2=2$: either $00$ or $11$
$a_3=2$: either $000$ or $111$
$a_4=4$:
Reasoning:
$\textbf{If we start with a $0$}$: For the second entry we have $1$ choice as we are forced to put a $0$ since we started with a $0$. For the third entry we have $2$ choices, and similarly for the fourth entry we have $1$ choice. So there are $2$ such strings.
$\textbf{If we start with a $1$}$: For the second entry we are forced to put a $1$. For the third entry we have $2$ choices, and for the fourth entry we have $1$ choice. So there are $2$ such strings.
So $a_4=2+2=4$ strings.
Following the same method for the remaining:
$a_5=4$
$a_6=8$
$a_7=8$
$\textbf{(b) Find the recurrence relation for $a_n$}$
$$a_n= \begin{cases} 2a_{n-2}&n \text{ even},\\ a_{n-1}&n \text{ odd} \end{cases}$$
Your argument seems wrong to me. In particular the following part.
That last sentence seems to be true for $n=4$, but not in general for $n>4$. In this case it is only true if you choose $1$ for the third entry, but if you've chosen $0$ then you have two choices.
That analogous happens in the case where you start with $1$.
For the recurrence relation I think the following should work. For any $m$ let $b_m$ and $c_m$ denote respectively the strings of the desired form that start with a $0$ and with a $1$ repectively. Note that $b_m=c_m=a_m/2$. So this is all a bit silly, but let's do it for the sake of keeping the argument clear.
Let's fix $n\geq 3$. I'll calculate $b_n$ in terms on $c_m$ for $m<n$.
How many strings are there that have $0< s < n$ zeroes in a row before having a one? As you've noted if $s=1$ then the answer is zero strings. For $s\geq 2$ then observe that the answer is $c_{n-s}$.
Using this show that $b_m=1+ \Sigma_{2\leq s < n} c_{n-s}$.