A prime number less than 100 is selected randomly. What is the probability that its square has units digit 7?

1 answer

zero. No square ends in 7.

Only 1,4,5,6,9,0

Poke around a bit and you will quickly see why.