Solving the Diophantine equation by state space inversion techniques: an illustrative example