In reply to Re^2: Determining if a rational number terminates by trizen in thread Determining if a rational number terminates by blackle