Number of combinations

I think this is a dumb question but if I have 25 categories and each category can either have a value of 1 or 0.  How many combinations do I get?

Thanks,
Montrof
LVL 1
montrofAsked:
Who is Participating?
 
TommySzalapskiConnect With a Mentor Commented:
2^25
0
 
sdstuberCommented:
2^25

2 to the 25th power

2 x 2 x 2 x 2 x ....  x 2  (25 times)

33,554,432
0
 
TommySzalapskiCommented:
which is 33554432
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
käµfm³d 👽Commented:
I think you mean "permutations," not combinations. You have 25 slots, with two possibilities per slot. That means you will have 2^25 possible permutations.
0
 
mrbcam21Commented:
300
0
 
montrofAuthor Commented:
Thanks that is exactly what I needed
0
 
käµfm³d 👽Commented:
Actually, I might be off on my "permutation" remark. Stats & Prob was a few years ago  = )
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.