Find a number equal to 1 mod r which can be factored: Enter a candidate value K in the box, then click this button to factor it: Step 3. encoded.