We have 5 digit pin code plots and 8 choices per slot. Because repetition is allowed (1 digit can have 8 choices) so we multiply out the number of choices per slot
. Hence:
8*8*8*8*8 =
So there are 32768 different combination.
But correct guess on the first try is just only 1 time, so its' probability: