Question
In an RSA cryptosystem, the value of the public modulus parameter is 3007. If it is also known that , where denotes Euler's Totient Function, then the prime factor of which is greater than 50 is ________.
Official answer and solution
- Official answer
- 97
- From
- Official GATE 2019 answer key
Solution
Set up a quadratic equation for the two prime factors and of using and , solve for the roots, and select the prime greater than 50.
In the RSA cryptosystem, the modulus is the product of two prime numbers and :
Euler's totient function for the product of two primes is:
Substitute the given values and :
Now we have a system of two symmetric equations:
The primes and are the roots of the quadratic equation:
The discriminant of this quadratic equation is:
Since , the roots are:
This yields:
Both 97 and 31 are prime numbers, and .
The question asks for the prime factor of which is greater than 50. Since , the answer is 97.
97
Entering 31 instead of 97 because 31 is the smaller root, ignoring the condition 'greater than 50'.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2019 Computer Science and Information Technology (CS)
- Question
- 64 of 65, printed as CS Q.54
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.