[zh-cn] Imperative part of the q235 method to solve the ugly number puzzle