Find the Maximum Divisibility Score
Score each divisor by how many numbers it divides; keep the highest score, breaking ties toward the smaller divisor.
Score each divisor by how many numbers it divides; keep the highest score, breaking ties toward the smaller divisor.