mathematica

The Centrifuge Problem

Given a centrifuge with n holes, is it possible to balance k test tubes? My solution of the Centrifuge Problem using Wolfram Mathematica.