Split a number into K unique parts such that their GCD is maximum


This is a companion discussion topic for the original entry at http://iq.opengenus.org/split-number-into-k-parts-such-that-gcd-is-maximum/