If $f_1(x)=||x|-2|$ and $f_n(x)=|f_{n-1}(x)-2|$ for all $n\geq 2$ then find the no. of solutions for $f_{2015}=2$.
I tried solving these equations till 2013 but couldn't find a pattern in the number of solutions. I don't know what approach I should adopt to solve such questions. It would be great if I could get a hint for finding the answer.