A General Solution for Troesch's Problem. (27th November 2012)