$$ φ(n)=5 φ\left(\frac{n}{2}\right)-6 φ\left(\frac{n}{4}\right)+n $$ where $$ \varphi (1) = 2 \\ \text{and} \\ \varphi (2) = 1 $$
With $n=2^x$, I have the following equation. Am I wrong in this translation?
$$ Q(x) = 5Q(x-1) - 6Q(x-2) + 2^x $$
To obtain its particular solution, I try the following.
$$ A \cdot 2^x=5 \cdot A \cdot 2^{(x-1)}-6 \cdot A \cdot 2^{(x-2)}+2^x $$ which yields the following unexpected(wrong) thing $$ 2^x=0 $$
Where is my wrong? Can you help and explain please?