It's well known that generating functions are great to solve recurence relations in form $$a_n = A*a_{n-1} + B*a_{n-2} + \dots$$
But i was wondering what happens if recurence relation contains division in subscripts? It is: $$a_n = A*a_{\lfloor \frac{n}{2} \rfloor} + B*a_{\lfloor \frac{n}{3} \rfloor} + \dots$$ where $A$ and $B$ are some contants. On this stage, let's ignore boundary cases (n=0, 1 etc.) and assume $A$ and $B$ are equal to $1$.
Noting $A(x)$ as generating function for sequence $<a_n>_{0}^\infty$ we have $$A(x) = (1+x)A(x^2) + (1+x+x^2)A(x^3)$$ if i understand it correctly.
I searched the internet for that and even Wilf's gfology book, but i couldn't find explaination for this case. Maybe we can't solve this recurence easily and in effect, can't have closed form for this recurence? Are there other tools to solve it? Thanks in advance.