Division and Distribution into Groups of Equal Sizes