This problem is based on ratios and proportions. The key insight is to consider the minimum repeating group size (1 captain + 16 soldiers) and determine how many times this group fits into the total number of people.