Math: How many combinations are there with 5 numbers?
Mia Lopez
I have checkbox form with 5 choices. The user can choose say #1,#3 and #4; or #1 and #2; or #2, #3, #4 and #5 and so on. How can i find out how many possible combinations are there?
Is it 5*5*5=125?
42 Answers
Checkboxes are binary so you'll be able to represent any 5-digit binary number with 5 checkboxes.
The answer is 2⁵ = 32
1 number - 2 options
2 numbers - 4 options
3 numbers - 8 options
4 numbers - 16 options
5 numbers - 32 optionsThis is correct if we take into account the option when the user doesn't choose anything. If we don't then do -1 (for 5 numbers it will be 31).