Explanation:
If we count for both numbers up to 36, we start seeing a pattern...
Candy: 6 12 18 24 30 36
Danny: 4 8 12 16 20 24 28 32 36
Every other number in Candy's counting is also counted by Danny. So here's what we'll do:
600/6 = 100
This is how many numbers Candy counted overall.
100/2 = 50
This is how many numbers Danny counted that were also numbers Candy counted.
Answer:
50 of the numbers that candy counted were also counted by Danny.