30
5*6=30
6*5=30
If n is divisible by 5 and by 6, then it is divisible by 30, and conversely; so just apply your method with d=30
6.5m questions
8.7m answers