• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

help with simple math question

  • Thread starter Thread starter
  • Start date Start date

if you have 5 toggle switches (on/off)
how many different combinations are there?

for some reason my brain is trying to do this in binary or something :\
 
awesome, thanks guys

(i ended up writing a quick progie to count in binary until the length of the count was 6

31 results (which doesn't include 0)
 
Its 2^5 = 32 ....

when 0 switch is on -- different combination --> 1
when 1 switch is on -- different combination --> 5
when 2 switchs is on -- different combination --> 10
when 3 switchs is on -- different combination --> 10
when 4 switchs is on -- different combination --> 5
when 5 switchs is on -- different combination --> 1

-------------------------------------------------------
Total Combinations -- 32

Guess this makes it a bit clear ....
 
Back
Top