A cube ending in eleven

An integer xx is chosen uniformly at random from {1,2,,10100}\{1, 2, \dots, 10^{100}\}. What is the probability that x3x^3 ends in the digits 1111 (i.e. x311(mod100)x^3 \equiv 11 \pmod{100})?

Show hints (2)+
  1. Only xmod100x \bmod 100 matters (it's uniform). Solve x311(mod100)x^3\equiv 11 \pmod{100} via CRT (mod 44 and mod 2525).
  2. Cubing is a bijection mod 2525 (one solution) and forces one class mod 44 - one residue mod 100100.

Answer

Reveal answer →

0.01

Want the full step-by-step worked solution? It's part of Premium - along with a worked solution for every question in the bank.

Asked at: Jane Street, Two Sigma

Related questions