Quantitative AptitudeVery hardTCS NQT Prime · Infosys SP

The last two digits of 17^(17^17) are

  1. A. 77
  2. B. 37
  3. C. 17
  4. D. 97

Correct answer: A. 77

The order of 17 mod 100 is 20, so reduce the exponent mod 20: 17^2 = 289 ≡ 9, 17^4 ≡ 81 ≡ 1 (mod 20), so 17^17 ≡ 17 (mod 20). Hence the number ≡ 17^17 (mod 100): 17^2 = 89, 17^4 ≡ 21, 17^8 ≡ 41, 17^16 ≡ 81, and 17^17 ≡ 81 × 17 = 1377, i.e. 77.

More Number System, LCM and HCF questions

Exams that ask this topic