Skip to content

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 nn is 30073007. If it is also known as that ϕ(n)=2880\phi(n)=2880 where ϕ()\phi() denotes Euler’s Totient Function, then the prime factor of nn which is greater than 5050 is _________
View worked solution

Answer: 97

In the RSA cryptosystem, the public modulus nn is the product of two distinct prime numbers, pp and qq:

n=p⋅q=3007n = p \cdot q = 3007

Euler's totient function ϕ(n)\phi(n) for the product of two primes is given by:

ϕ(n)=(p−1)(q−1)\phi(n) = (p-1)(q-1)

Expanding this expression, we get:

ϕ(n)=p⋅q−(p+q)+1\phi(n) = p \cdot q - (p+q) + 1

Substitute the given values n=3007n = 3007 and ϕ(n)=2880\phi(n) = 2880 into the equation:

2880=3007−(p+q)+12880 = 3007 - (p+q) + 1

2880=3008−(p+q)2880 = 3008 - (p+q)

p+q=3008−2880=128p+q = 3008 - 2880 = 128

We now have a system of two equations:

  1. p+q=128p + q = 128
  2. p⋅q=3007p \cdot q = 3007

These can be solved by forming a quadratic equation with roots pp and qq:

x2−(p+q)x+pq=0x^2 - (p+q)x + pq = 0

x2−128x+3007=0x^2 - 128x + 3007 = 0

Using the quadratic formula:

x=−(−128)±(−128)2−4⋅1⋅30072x = \frac{-(-128) \pm \sqrt{(-128)^2 - 4 \cdot 1 \cdot 3007}}{2}

x=128±16384−120282x = \frac{128 \pm \sqrt{16384 - 12028}}{2}

x=128±43562x = \frac{128 \pm \sqrt{4356}}{2}

Since 4356=66\sqrt{4356} = 66:

x=128±662x = \frac{128 \pm 66}{2}

This gives two possible values for the prime factors:

x1=128+662=97x_1 = \frac{128 + 66}{2} = 97

x2=128−662=31x_2 = \frac{128 - 66}{2} = 31

Thus, the prime factors of 30073007 are 3131 and 9797.

The prime factor of nn which is greater than 5050 is 97.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Concept of Layering: OSI and TCP/IP Protocol Stacks questions