--%>

Problem on Fermats method

A public key for RSA is published as n = 17947 and a = 3.

(i) Use Fermat’s method to factor n.

(ii) Check that this defines a valid system and find the private key X.

(iii) Encode 513 and decode 5017. You may need to use a computer for the decoding.

   Related Questions in Mathematics