I am wondering how we can express this sequence $B_{101}$ as an ordinary generating function (OGF), where $B_{101}$ is defined as the set of bitstrings (i.e. strings formed from $0$ and $1$) that does not have $101$ as a substring.
For instance, for the bitstring $B_{00}$, which is defined as the set of bitstrings that do not have the substring $00$, we can have a generating function $G(z)$, where:
$$ G(z) = 1 + z + (z+z^2)G(z) $$
In this case, $G(z)=a_0z^0 + a_1z^1 + a_2z^2 + ...$, and the coefficient $a_k$ of $z^k$ gives the number of bitstrings of length $k$ that do not have the substring $00$...
The first few terms are $1,2,4,7,12,21$; I looked this up in OEIS, and the first return was OEIS $A005251$, $$\langle a_n:n\ge 0\rangle=\langle 0,1,1,1,2,4,7,12,21,\ldots\rangle\;,$$ of which we are told that $a_{n+3}$ is the number of $n$-bit sequences that avoid $010$. Thus, you want
$$G(z)=\sum_{n\ge 0}a_{n+3}z^n\;,$$
where
$$\sum_{n\ge 0}a_nz^n=\frac{z(1-z)}{1-2z+z^2-z^3}\;,$$
according to the OEIS entry. This generating function can be derived from the recurrence $a_n=2a_{n-1}-a_{n-2}+a_{n-3}$, with initial conditions $a_0=0$ and $a_1=a_2=1$. The recurrence isn’t hard to justify.
Here a sketch of how you could do it from scratch, without relying on OEIS. Say that a bit string is good if it avoids $101$, and let $b_n$ be the number of good $n$-bit strings; we’ll begin by finding a recurrence for $b_n$. As a first approximation, each good $(n-1)$-bit string $\sigma$ can be extended to two $n$-bit strings, $\sigma^\frown 0$ and $\sigma^\frown 1$; $\sigma^\frown 0$ is definitely good, and $\sigma^\frown 1$ is good unless $\sigma$ ends in $10$. Thus, $b_n$ is $2b_{n-1}$ minus the number of good $(n-1)$-bit strings that end in $10$.
Every good $(n-1)$-bit string that ends in $0$ is obtained by appending a $0$ to a good $(n-2)$-bit string, and every good $(n-2)$-bit string can be extended to a good $(n-1)$-bit string ending in $0$, so there are $b_{n-2}$ good $(n-1)$-bit strings that end in $0$. A similar argument shows that $b_{n-3}$ of them end in $00$, so $b_{n-2}-b_{n-3}$ of them end in $10$, and it follows that
$$b_n=2b_{n-1}-(b_{n-2}-b_{n-3})=2b_{n-1}-b_{n-2}+b_{n-3}\;.$$
One can now use this recurrence to derive the generating function in the usual way.