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. x3≡11(mod100)x^3 \equiv 11 \pmod{100})?

Show hints (2)+
  1. Only x mod 100x \bmod 100 matters (it's uniform). Solve x3≡11(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

Create a free account to see the full worked solution and track your progress.

Interview format: Market Maker, Systematic & Data-Driven Trading

Related questions