This is a smaller post that relates to these previous questions that I have asked $(1)$ $(2)$. Context for the (seemingly arbitrary) formulas may be found there.
Let us consider a $3 \times n$ grid of squares. The minimum number of squares that one can remove to guarantee the existence of a unique closed loop is
$$\mathcal{M}(3,n) = \left\lfloor \frac{n}{3} \right\rfloor + \begin{cases} 1 & \text{if } n \equiv 1 \pmod 3,\\[2mm] 0 & \text{otherwise.} \end{cases}$$
Then, it is natural to ask given such value $\mathcal{M}(3,n)$ of squares to remove, how many arrangements of $\mathcal{M}(3,n)$ forbidden squares guarantee the existence of a unique closed loop? In other words, fix this minimal number of forbidden squares. Let $\mathcal{A}(n)$ denote the number of ways to choose exactly $\mathcal{M}(3,n)$ squares whose removal guarantees a unique closed loop.
Experimentally (programmatic exhaustive search), I found
\begin{array}{c|cccccccccccc} n & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & 10 & 11 & 12 & 13 \\ \hline \mathcal{M}(3,n) & 0 & 1 & 2 & 1 & 2 & 3 & 2 & 3 & 4 & 3 & 4 & 5\\ \hline \mathcal{A}(n) & 1 & 5 & 13 & 2 & 14 & 52 & 4 & 36 & 172 & 8 & 88 & 512 \end{array}
The powers of $2$ scattered around at $n=2, 5, 8, 11$ seem to suggest a closed form for $\mathcal{A}(n)$. Here is the conjectured form for $\mathcal{A}(n)$... Let $m = 3t + r$ with $t = \lfloor m/3 \rfloor$ and $r \in \{0,1,2\}$. Then
$$S(m) = \begin{cases} A_t = (2t + 3)\,2^{\,t-1}, & r = 0, \\[6pt] B_t = (2t^{2} + 7t + 4)\,2^{\,t-1}, & r = 1, \\[6pt] C_t = 2^{t}, & r = 2 \end{cases}$$
How can I prove or disprove this conjecture closed form? Perhaps induction will help, where one may consider the partition of the $3 \times m$ grid. Though, with this method, I am having trouble working with $B_t$. Thanks



