On the closed form solution of Troesch's problem