結果 : prime factor of 24 using tree method