note HCF LCM using division and factor trees