We have thrown k white dice and m black dice. Find the probability that the remainder modulo 7 of the sum of the numbers on the white dice is equal to the remainder modulo 7 of the sum of the numbers on the black dice. probabilitysumsDiceremaindernumber theorycombinatorics