Say I roll dices B and C and they land on the same number X. I then roll dice A say two times. If none of them falls on the number X, then I count 2 times. Does that answer your question?
They are all independent. However, every time I roll the first two dice, I roll the 3rd dice twice or 3 times.
I then want the count the number of times the first two dice land on the same number without the 3rd dice doing so. Does that make it more clear?
I have 3 fair dices. The probability of 2 of them lying in the same number without the 3rd doing so is given by \frac{N (N-1)}{N^3}, with N=6 in a regular dice.
What if I roll the 3rd dice twice as fast (i.e. 2 times for every time I roll the other dices)? Or three times as fast? Simple...