We find the probability of the complement event, that is, their throws are equal. There are 365 outcomes for one roll of a pair of dice, so the total number of outcomes for the two persons making one throw each is 36×36=1296. Now let ai, with 2≤i≤12, be the number of ways to get a sum of i showing on the pair of dice when they are rolled.
Then
a2=a12=1,a3=a11=2,a4=a10=4,a5=a9=4,a6=a8=5,a7=6.
Each player can throw an i in ai ways, so both of them will throw an i in a2i ways. Summing over all values of i, we see that the number of ways the throws of the two persons will be equal is
a22+a23+...+a212=2(12+22+32+42+52)+62
=26(5)(6)+62=146
∴1−p=1461296=73648
648p=73.