結果 : highest common factor tree method