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?
- AOnly $S_1$Correct answer
- BOnly $S_2$
- CBoth $S_1$ and $S_2$
- DNeither $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.