Placement AptitudeVery hardTCS NQT Digital · Infosys SP

f(x) = 1/(1 − x) for x ≠ 0, 1. If f is applied to 2 repeatedly 2026 times, that is f(f(…f(2)…)), what is the result?

  1. A. −1
  2. B. 1/2
  3. C. 2
  4. D. 3/2

Correct answer: A. −1

f(2) = −1, f(−1) = 1/2, f(1/2) = 2, so the values cycle with period 3. 2026 = 3 × 675 + 1, so the result equals f(2) = −1.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic