Solving the Liouville equation for conservative systems: Continued fraction formalism and a simple application