Skip to content

UGC NET CS 2019Data Structures and Algorithms › Selected TopicsVerified

UGC NET CS 2019 PYQ: Consider the following statements: $S_1$: For any integer $n>1, \: a^{\phi(n)} \equiv 1(mod \: n)$ for all…

Consider the following statements:

$S_1$: For any integer $n>1, \: a^{\phi(n)} \equiv 1(mod \: n)$ for all $a \in Z_n^*$ , where $\phi(n)$ is Euler’s phi function.

$S_2$: If $p$ is prime, then $a^p \equiv 1(mod \: p)$ for all $a \in Z_p^*$.

Which one of the following is/are correct?

  1. A
    Only $S_1$
    Correct answer
  2. B
    Only $S_2$
  3. C
    Both $S_1$ and $S_2$
  4. D
    Neither $S_1$ nor $S_2$

Answer

(A) Only $S_1$

Approach

Check each statement against Euler's theorem and Fermat's little theorem.

Reviewed by UGC IQ Editorial Team.