Let $p$ and $q$ be integers.
Let $f(n)$ be A007814, the exponent of the highest power of $2$ dividing $n$, a.k.a. the binary carry sequence, the ruler sequence, or the $2$-adic valuation of $n$.
Then we have an integer sequence given by \begin{align} a(0)=a(1)&=1\\ a(2n)& = pa(n)+qa(2n-2^{f(n)})\\ a(2n+1) &= a(n-2^{f(n)}) \end{align} which can also be expressed with a product $$a(n) = [t(n) = 0] + [t(n) > 0]\prod\limits_{k=0}^{t(n)-1} (q^{k+1} + p\sum\limits_{j=0}^{k} q^{j})^{g(n, k)}$$ where $$t(n)=\begin{cases} [n=2],&\text{if $n<4$;}\\ t(2^{m-1} + k),&\text{if $0 \leqslant k < 2^{m-1}, m > 1$ where $n = 2^m + k$;}\\ t(k) + A010060(k - 2^{m-1}),&\text{if $2^{m-1} \leqslant k < 2^m, m > 1$ where $n = 2^m + k$.} \end{cases}$$ $$g(n,0)=\begin{cases} [n=2]+2\cdot [n=4]+[n=6]+[n=7],&\text{if $n<8$;}\\ g(2^{m-1} + k,0) - A010060(k) + 1,&\text{if $0 \leqslant k < 2^{m-1}, m > 2$ where $n = 2^m + k$;}\\ g(2^{m-2} + k,0) + 1,&\text{if $2^{m-1} \leqslant k < 3\cdot 2^{m-2}, m > 2$ where $n = 2^m + k$;}\\ g(2^{m-3} + k,0) + A010060(k - 3\cdot 2^{m-2}) ,&\text{if $3\cdot 2^{m-2} \leqslant k < 7\cdot 2^{m-3}, m > 2$ where $n = 2^m + k$;}\\ 1,&\text{if $7\cdot 2^{m-3} \leqslant k < 2^m, m > 2$.} \end{cases}$$ $$g(n, k) = g(h(n, k), 0), n \geqslant 0, k > 0,$$ $$h(n, k) = h(h(n, 1), k - 1), n \geqslant 0, k > 1,$$ $$h(n , 1) = s(s(n)), n \geqslant 0,$$ $$s(n) = A053645(n), n > 0, s(0) = 0.$$ Here are the links to the sequences: A010060, A053645.
I conjecture that $a(\frac{2^{kn}-1}{2^k-1})=(a(2^n-1))^{2k-1}$ for $n \geqslant 0$, $k>0$. This question generalizes the following: Subsequence of the cubes.
Is there a way to prove it using expression with a product?