Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Combination
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Number of ''k''-combinations for all ''k'' == {{See also|Binomial coefficient#Sum of coefficients row}} The number of ''k''-combinations for all ''k'' is the number of subsets of a set of ''n'' elements. There are several ways to see that this number is 2<sup>''n''</sup>. In terms of combinations, <math display="inline">\sum_{0\leq{k}\leq{n}}\binom n k = 2^n</math>, which is the sum of the ''n''th row (counting from 0) of the [[Binomial coefficient#Sum of coefficients row|binomial coefficients]] in [[Pascal's triangle]]. These combinations (subsets) are enumerated by the 1 digits of the set of [[base 2]] numbers counting from 0 to 2<sup>''n''</sup> β 1, where each digit position is an item from the set of ''n''. Given 3 cards numbered 1 to 3, there are 8 distinct combinations ([[subsets]]), including the [[empty set]]: <math display="block">| \{ \{\} ; \{1\} ; \{2\} ; \{1, 2\} ; \{3\} ; \{1, 3\} ; \{2, 3\} ; \{1, 2, 3\} \}| = 2^3 = 8</math> Representing these subsets (in the same order) as base 2 numerals: *0 β 000 *1 β 001 *2 β 010 *3 β 011 *4 β 100 *5 β 101 *6 β 110 *7 β 111
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)