Units digit of a random power

Pick mm uniformly from {111,133,155,177,199}\{111, 133, 155, 177, 199\} and, independently, nn uniformly from {2004,2005,…,2023}\{2004, 2005, \dots, 2023\}. What is the probability that mnm^{n} has units digit 11?

Show hints (2)+
  1. Only the last digit of mm matters. Find each last-digit's units-digit cycle.
  2. Condition on the exponent's residue: 4∣n4\mid n for digits 3,73,7; nn even for digit 99. Average over the five mm's.

Answer

Reveal answer →

0.4

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

Interview format: Market Maker, Hedge Fund Quant

Related questions