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: 4n4\mid n for digits 3,73,7; nn even for digit 99. Average over the five mm's.

Answer

Reveal answer →

0.4

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, Citadel

Related questions