This problem was suggested by Yatir Halevi.

Solve the equation:
x(x3)=3.


Solve the equation:
x(x(x3))=3.


Can you find solutions to all equations of the form:
xxxxxx...a=a
where the sequence of powers is defined in the same way and a is a positive integer?

Explain what you have done and prove that you have found all possible solutions.