The number m is randomly selected from the set {11, 13, 15, 17, 19}, and a number n is randomly selected from {1999, 2000, 2001,..., 2018}. What is the probability that m^n has a units digit of 1? Please help, I'm dumb
(1, 7, 5, 3, 9, 1, 1, 5, 1, 1, 1, 3, 5, 7, 9, 1, 9, 5, 9, 1, 1, 7, 5, 3, 9, 1, 1, 5, 1, 1, 1, 3, 5, 7, 9, 1, 9, 5, 9, 1, 1, 7, 5, 3, 9, 1, 1, 5, 1, 1, 1, 3, 5, 7, 9, 1, 9, 5, 9, 1, 1, 7, 5, 3, 9, 1, 1, 5, 1, 1, 1, 3, 5, 7, 9, 1, 9, 5, 9, 1, 1, 7, 5, 3, 9, 1, 1, 5, 1, 1, 1, 3, 5, 7, 9, 1, 9, 5, 9, 1)>>Total==100 - units digits of the 2 sets.
The probability is: 40 / 100 ==2/5