I am trying to understand how table 1.12 is constructed; where they start with $f(1)=α$ and working up from there. This is in the context of trying to find a closed form of the generalised Josephus recurrences:
$f(1)=\alpha$, for $n \geqslant 1$
$f(2n)=2f(n)+\beta$, for $n \geqslant 1$
$f(2n+1)=2f(n)+\gamma$, for $n \geqslant 1$
The book then constructs the following table for small values of $n$
$$ \begin{array}{|c|lc|} \hline n& f(n) \\ \hline 1 &\ \ \alpha \\ \hline 2 & 2\alpha+\beta \\ 3 & 2\alpha\ \ \ \ \ \ \ \ \ \ \ \ +\ \ \gamma\\ \hline 4 & 4\alpha + 3\beta\\ 5 & 4\alpha + 2\beta\ \ \ +\ \ \gamma\\ 6 & 4\alpha + \ \ \beta\ \ \ +2\gamma\\ 7 & 4\alpha + \ \ \ \ \ \ \ +3\gamma\\ \hline 8 & 8\alpha + 7\beta\\ 9 & 8\alpha + 6\beta\ \ \ \ + \gamma \\ \hline \end{array} $$
Do they construct the generalised table from scratch somehow or use the existing concrete table as a stepping stone?
So far I've been using the concrete table of small values as a stepping stone to attempt to understand the generalised table. By "concrete table of small values" I mean this one
$$ \begin{array}{|c|c|} \hline n & 1 & 2\ \ 3 &4\ \ 5\ \ 6\ \ 7\ & 8\ \ 9\ \ 10\ \ 11\ \ 12\ \ 14\ \ 15 & 16 \\ \hline J(n) &1&1\ \ 3&1\ \ 3\ \ 5\ \ 7 &1\ \ 3\ \ 5\ \ 7\ \ 9\ \ 11\ \ 13\ \ 15 & 1 \\ \hline \end{array} $$
Where the output of $J(n)$ is grouped by power of two. Using the concrete table (and thus $\alpha = 1$, $\beta = -1$, and $\gamma = 1$)I think I understand why $\alpha$'s coefficient is $n$'s largest power of 2 i.e. we're just representing symbolically what the concrete table has.
Similarly for $\beta$'s coefficient decreasing: the $J(n)$ output starts small so we need a negative $\beta$ of larger magnitude at the start to get 1, then reducing the magnitude i.e. for $n=4$ to $n=7$ it is $3\beta$, $2\beta$, and $\beta$.
Then we need to start counting upwards with $\gamma$ so $J(n)$'s output increases: using example above of $n$ 4 to 7 it is $\gamma$, $2\gamma$, and $3\gamma$. It almost seems like there is some kind of "middle" that $\beta$ and $\gamma$ are relative to.
Assuming the above makes sense, is there a way to mechanically construct that generalised table without needing to refer to anything else?