Negative base problem

Question

Hints

Answer