euler12 and modify demp and find-divisor