rotorCheck returns the numbers of tubes that can and cannot be loaded
in a single operation.
rotorCheck(n, k = NULL)rotorCheck returns a list with two components:
valida vector containing the numbers of tubes that can be loaded.
invalida vector containing the numbers of tubes that cannot be loaded.
an integer, the number of rotor buckets.
an integer, the number of tubes.
The number of rotor buckets n ranges from 4 to
48.
If k is specified, rotorCheck will check
whether the input number of tubes can be loaded or not.
Sivek G. On vanishing sums of distinct roots of unity. Integers. 2010;10(3):365-8.
rotorEqual for balancing tubes of equal mass and
rotorUnequal for balancing tubes of unequal mass.