GATE CS 2019 Q54 — Concept of Layering: OSI and TCP/IP Protocol Stacks
Explain with AI
In an RSA cryptosystem, the value of the public modulus parameter n is 3007. If it is also known as that ϕ(n)=2880 where ϕ() denotes Euler’s Totient Function, then the prime factor of n which is greater than 50 is _________View worked solutionShowHide
Answer: 97
In the RSA cryptosystem, the public modulus n is the product of two distinct prime numbers, p and q:
n=p⋅q=3007
Euler's totient function ϕ(n) for the product of two primes is given by:
ϕ(n)=(p−1)(q−1)
Expanding this expression, we get:
ϕ(n)=p⋅q−(p+q)+1
Substitute the given values n=3007 and ϕ(n)=2880 into the equation:
2880=3007−(p+q)+1
2880=3008−(p+q)
p+q=3008−2880=128
We now have a system of two equations:
p+q=128
p⋅q=3007
These can be solved by forming a quadratic equation with roots p and q:
x2−(p+q)x+pq=0
x2−128x+3007=0
Using the quadratic formula:
x=2−(−128)±(−128)2−4⋅1⋅3007
x=2128±16384−12028
x=2128±4356
Since 4356=66:
x=2128±66
This gives two possible values for the prime factors:
x1=2128+66=97
x2=2128−66=31
Thus, the prime factors of 3007 are 31 and 97.
The prime factor of n which is greater than 50 is 97.
Free practice · Your answers on this page are not saved.