Placement AptitudeVery hardTCS NQT · Infosys · Capgemini pattern

What are the last two digits of 23^5002?

  1. A. 99
  2. B. 07
  3. C. 29
  4. D. 98

Correct answer: C. 29

By Euler's theorem (gcd(23,100)=1), 23^40 ≡ 1 (mod 100) since λ(100)=20 (order divides 20). Computing 23^5002 mod 100 directly via repeated squaring gives 29 (verified by reducing the exponent mod the multiplicative order of 23 modulo 100).

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic