So here's the problem -
I need to find the minimum divisions required with a divisor 'd', to equalize at least k elements in the array. For eg. for array {64,25,33,30}, divisor=2 and k=2 -> Divide 64 two times to get 16 and 33 one time to get 16. So array becomes {16,25,16,30} which has k=2 elements equal. And so minimum divisions required = 3.