Question related to Pascal Triangles and Counting PatternsPartial sum of rows of Pascal's...
How to play song that contains one guitar when we have two guitarists (or more)?
Calculating solubility of iron(III) hydroxide in water
How do I add a strong "onion flavor" to the biryani (in restaurant style)?
Why is opening a file faster than reading variable content?
How do I write a maintainable, fast, compile-time bit-mask in C++?
How can guns be countered by melee combat without raw-ability or exceptional explanations?
Was Opportunity's last message to Earth "My battery is low and it's getting dark"?
Why don't reads from /dev/zero count as I/O?
What is the Guild Die for?
How to know if I am a 'Real Developer'
Is candidate anonymity at all practical?
Get category id
What are Holorydmachines?
Why is it a problem for Freddie if the guys from Munich did what he wanted?
Run a command that requires sudo after a time has passed
Manager has noticed coworker's excessive breaks. Should I warn him?
Ramanujan's radical and how we define an infinite nested radical
boss asked me to sign a resignation paper without a date on it along with my new contract
Where can I educate myself on DnD universe lore, specifically on vampires and supernatural monsters?
Is it ethical to apply for a job on someone's behalf?
Can I legally make a website about boycotting a certain company?
Which was the first story to feature space elevators?
Under which circumstances can »werden« stand at the end of a sentence?
Why is Shelob considered evil?
Question related to Pascal Triangles and Counting Patterns
Partial sum of rows of Pascal's triangleProbability/ Counting question about Error RatesSimple counting question related to equivalence classesSpecial Triangles and their related acute anglesCounting Triangles Between two intersecting linescounting onto functions and similar problemsExplanation of the formula for binominal distributionExpected value of sum of $k$th element in a row of pascal'sTotal number of injective functionsOn the parity of the coefficients of $(x+y)^n$.
$begingroup$
I was working on two separate problems and came across a potential pattern involving Pascal's triangle. I would like to know if Pascal's triangle applies to either of these problems and if so, is there a formula I can use to come up with these patterns explicitly?
Potential Pattern 1:
Whenever I was counting the number of possible functions between set $A$ and set $B$, where $A={a,b,c}$ and $B={0,1}$
I noticed the following:
There is one function from $A$ to $B$ that sends zero elements to element $1$ in $B$. Three functions from $A$ to $B$ that only send one element in $A$ to element $1$ in $B$. Three functions from $A$ to $B$ that send two elements in $A$ to element $1$ in $B$. One function from $A$ to $B$ that sends three elements in $A$ to element $1$ in B.
Thus we have $1+3+3+1$ possible functions.
Potential Pattern 2:
I was looking at a set of $4$-elements and began generating the elements of its powerset and noticed it has $1$ zero element set, $4$ one element sets, $6$ two element sets, $4$ three element sets and $1$ four element set.
This follows the pattern of $1,4,6,4,1.$
For instance, how can I use a formula to calculate the following: given the power set of a 4-element set, how many three element sets does it have? Could I see an example of how to calculate this with a formula? The answer is 4, but I know that because I wrote all the subsets down and counted them by hand.
combinatorics functions binomial-coefficients binomial-theorem
$endgroup$
add a comment |
$begingroup$
I was working on two separate problems and came across a potential pattern involving Pascal's triangle. I would like to know if Pascal's triangle applies to either of these problems and if so, is there a formula I can use to come up with these patterns explicitly?
Potential Pattern 1:
Whenever I was counting the number of possible functions between set $A$ and set $B$, where $A={a,b,c}$ and $B={0,1}$
I noticed the following:
There is one function from $A$ to $B$ that sends zero elements to element $1$ in $B$. Three functions from $A$ to $B$ that only send one element in $A$ to element $1$ in $B$. Three functions from $A$ to $B$ that send two elements in $A$ to element $1$ in $B$. One function from $A$ to $B$ that sends three elements in $A$ to element $1$ in B.
Thus we have $1+3+3+1$ possible functions.
Potential Pattern 2:
I was looking at a set of $4$-elements and began generating the elements of its powerset and noticed it has $1$ zero element set, $4$ one element sets, $6$ two element sets, $4$ three element sets and $1$ four element set.
This follows the pattern of $1,4,6,4,1.$
For instance, how can I use a formula to calculate the following: given the power set of a 4-element set, how many three element sets does it have? Could I see an example of how to calculate this with a formula? The answer is 4, but I know that because I wrote all the subsets down and counted them by hand.
combinatorics functions binomial-coefficients binomial-theorem
$endgroup$
1
$begingroup$
Short answer: Yes it does.
$endgroup$
– PackSciences
2 hours ago
$begingroup$
Nice! I would love to see how.
$endgroup$
– geometric_construction
2 hours ago
$begingroup$
If you would spend some time trying to formulate what the patterns are your question is about (the question does not do this), you could probably gain more insight than by having us hash out the patterns.
$endgroup$
– Marc van Leeuwen
2 hours ago
$begingroup$
For a start, note that you seem to be classifying the functions $f:Ato B$ according to the value of the sum $sum_{xin A}f(x)$.
$endgroup$
– Marc van Leeuwen
1 hour ago
$begingroup$
@MarcvanLeeuwen, I edited my question per your suggestion.
$endgroup$
– geometric_construction
1 hour ago
add a comment |
$begingroup$
I was working on two separate problems and came across a potential pattern involving Pascal's triangle. I would like to know if Pascal's triangle applies to either of these problems and if so, is there a formula I can use to come up with these patterns explicitly?
Potential Pattern 1:
Whenever I was counting the number of possible functions between set $A$ and set $B$, where $A={a,b,c}$ and $B={0,1}$
I noticed the following:
There is one function from $A$ to $B$ that sends zero elements to element $1$ in $B$. Three functions from $A$ to $B$ that only send one element in $A$ to element $1$ in $B$. Three functions from $A$ to $B$ that send two elements in $A$ to element $1$ in $B$. One function from $A$ to $B$ that sends three elements in $A$ to element $1$ in B.
Thus we have $1+3+3+1$ possible functions.
Potential Pattern 2:
I was looking at a set of $4$-elements and began generating the elements of its powerset and noticed it has $1$ zero element set, $4$ one element sets, $6$ two element sets, $4$ three element sets and $1$ four element set.
This follows the pattern of $1,4,6,4,1.$
For instance, how can I use a formula to calculate the following: given the power set of a 4-element set, how many three element sets does it have? Could I see an example of how to calculate this with a formula? The answer is 4, but I know that because I wrote all the subsets down and counted them by hand.
combinatorics functions binomial-coefficients binomial-theorem
$endgroup$
I was working on two separate problems and came across a potential pattern involving Pascal's triangle. I would like to know if Pascal's triangle applies to either of these problems and if so, is there a formula I can use to come up with these patterns explicitly?
Potential Pattern 1:
Whenever I was counting the number of possible functions between set $A$ and set $B$, where $A={a,b,c}$ and $B={0,1}$
I noticed the following:
There is one function from $A$ to $B$ that sends zero elements to element $1$ in $B$. Three functions from $A$ to $B$ that only send one element in $A$ to element $1$ in $B$. Three functions from $A$ to $B$ that send two elements in $A$ to element $1$ in $B$. One function from $A$ to $B$ that sends three elements in $A$ to element $1$ in B.
Thus we have $1+3+3+1$ possible functions.
Potential Pattern 2:
I was looking at a set of $4$-elements and began generating the elements of its powerset and noticed it has $1$ zero element set, $4$ one element sets, $6$ two element sets, $4$ three element sets and $1$ four element set.
This follows the pattern of $1,4,6,4,1.$
For instance, how can I use a formula to calculate the following: given the power set of a 4-element set, how many three element sets does it have? Could I see an example of how to calculate this with a formula? The answer is 4, but I know that because I wrote all the subsets down and counted them by hand.
combinatorics functions binomial-coefficients binomial-theorem
combinatorics functions binomial-coefficients binomial-theorem
edited 57 mins ago
Andrés E. Caicedo
65.5k8158249
65.5k8158249
asked 2 hours ago
geometric_constructiongeometric_construction
376
376
1
$begingroup$
Short answer: Yes it does.
$endgroup$
– PackSciences
2 hours ago
$begingroup$
Nice! I would love to see how.
$endgroup$
– geometric_construction
2 hours ago
$begingroup$
If you would spend some time trying to formulate what the patterns are your question is about (the question does not do this), you could probably gain more insight than by having us hash out the patterns.
$endgroup$
– Marc van Leeuwen
2 hours ago
$begingroup$
For a start, note that you seem to be classifying the functions $f:Ato B$ according to the value of the sum $sum_{xin A}f(x)$.
$endgroup$
– Marc van Leeuwen
1 hour ago
$begingroup$
@MarcvanLeeuwen, I edited my question per your suggestion.
$endgroup$
– geometric_construction
1 hour ago
add a comment |
1
$begingroup$
Short answer: Yes it does.
$endgroup$
– PackSciences
2 hours ago
$begingroup$
Nice! I would love to see how.
$endgroup$
– geometric_construction
2 hours ago
$begingroup$
If you would spend some time trying to formulate what the patterns are your question is about (the question does not do this), you could probably gain more insight than by having us hash out the patterns.
$endgroup$
– Marc van Leeuwen
2 hours ago
$begingroup$
For a start, note that you seem to be classifying the functions $f:Ato B$ according to the value of the sum $sum_{xin A}f(x)$.
$endgroup$
– Marc van Leeuwen
1 hour ago
$begingroup$
@MarcvanLeeuwen, I edited my question per your suggestion.
$endgroup$
– geometric_construction
1 hour ago
1
1
$begingroup$
Short answer: Yes it does.
$endgroup$
– PackSciences
2 hours ago
$begingroup$
Short answer: Yes it does.
$endgroup$
– PackSciences
2 hours ago
$begingroup$
Nice! I would love to see how.
$endgroup$
– geometric_construction
2 hours ago
$begingroup$
Nice! I would love to see how.
$endgroup$
– geometric_construction
2 hours ago
$begingroup$
If you would spend some time trying to formulate what the patterns are your question is about (the question does not do this), you could probably gain more insight than by having us hash out the patterns.
$endgroup$
– Marc van Leeuwen
2 hours ago
$begingroup$
If you would spend some time trying to formulate what the patterns are your question is about (the question does not do this), you could probably gain more insight than by having us hash out the patterns.
$endgroup$
– Marc van Leeuwen
2 hours ago
$begingroup$
For a start, note that you seem to be classifying the functions $f:Ato B$ according to the value of the sum $sum_{xin A}f(x)$.
$endgroup$
– Marc van Leeuwen
1 hour ago
$begingroup$
For a start, note that you seem to be classifying the functions $f:Ato B$ according to the value of the sum $sum_{xin A}f(x)$.
$endgroup$
– Marc van Leeuwen
1 hour ago
$begingroup$
@MarcvanLeeuwen, I edited my question per your suggestion.
$endgroup$
– geometric_construction
1 hour ago
$begingroup$
@MarcvanLeeuwen, I edited my question per your suggestion.
$endgroup$
– geometric_construction
1 hour ago
add a comment |
3 Answers
3
active
oldest
votes
$begingroup$
For problem nr1:
A function can be thought of as a so called Cartesian product between two sets. That is
$$
f: Ato B, f(a)=b
$$
can be thought of as all ordered pairs ${(a,b)mid ain A, bin B}$ so what you are actually counting here is the number of ways you can create these pairs with some particular restrictions say you would like everything to be mapped to only one specific member of the target domain, that is $B$.
For problem nr2:
You are counting "how many ways can I pick $0$ elements from a set having $n$ elements" this is usually expressed as a so called binomial coefficient
$$
binom{n}{0}=frac{n!}{0!(n-0)!}=1
$$
for exaample.
How this is tied to the pascal triangle is as follows:
If you number the rows of the triangle starting from $0$ then the $k$th element in $n$th row is
$$
binom{n}{k}=frac{n!}{k!(n-k)!}.
$$
The name binomial coefficient comes from the fact that these numbers represent the coefficients in
$$
(a+b)^n.
$$
Let us look at an example:
$$
(a+b)^3=1cdot a^3+3cdot a^2b+3cdot ab^2+1cdot b^3
$$
How come? Well, we are actually counting the number of ways we can pick factors from the sums:
$$
(a+b)^3=(a+b)(a+b)(a+b)
$$
so $a^3$ has coefficeint $1$ since there is only one way to pick $3$ "a"s. $a^2b$ has coefficient $3$ since we can pick $2$ "a"s and $1$ "b" in three different ways
$$
(underline{a}+b)(underline{a}+b)(a+underline{b})
$$
$$
(underline{a}+b)(a+underline{b})(underline{a}+b)
$$
and
$$
(a+underline{b})(underline{a}+b)(underline{a}+b).
$$
I hope this clarified a bit :)
$endgroup$
add a comment |
$begingroup$
The numbers in pascal's triangle represent number of combinations... Starting the numbering of rows/columns in zero, the $k^{th}$ element in the $n^{th}$ row in the triangle is given by $binom{n}{k}$, which is the number of ways you can choose $k$ objects out of a set of $n$ elements. In your case, selecting a function means selecting a certain number of elements in to domain to be mapped on to zero (or one), so you see the connection is immediate.
$endgroup$
add a comment |
$begingroup$
Yes. Both follow from the binomial theorem:
$$2^n = (1+1)^n = {n choose 0}1^n + {n choose 1}1^{n-1}1 + {n choose 2} 1^{n-2}1^2dots + {n choose n}1^n$$
Since the rows of Pascal's triangle correspond to the binomial coefficients, then the sum of the $n$-th row is $2^n$ (numbering the topmost row that only has one 1 with 0).
$2^n$ is indeed the number of functions describes, or the size of the power set.
$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3120104%2fquestion-related-to-pascal-triangles-and-counting-patterns%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
For problem nr1:
A function can be thought of as a so called Cartesian product between two sets. That is
$$
f: Ato B, f(a)=b
$$
can be thought of as all ordered pairs ${(a,b)mid ain A, bin B}$ so what you are actually counting here is the number of ways you can create these pairs with some particular restrictions say you would like everything to be mapped to only one specific member of the target domain, that is $B$.
For problem nr2:
You are counting "how many ways can I pick $0$ elements from a set having $n$ elements" this is usually expressed as a so called binomial coefficient
$$
binom{n}{0}=frac{n!}{0!(n-0)!}=1
$$
for exaample.
How this is tied to the pascal triangle is as follows:
If you number the rows of the triangle starting from $0$ then the $k$th element in $n$th row is
$$
binom{n}{k}=frac{n!}{k!(n-k)!}.
$$
The name binomial coefficient comes from the fact that these numbers represent the coefficients in
$$
(a+b)^n.
$$
Let us look at an example:
$$
(a+b)^3=1cdot a^3+3cdot a^2b+3cdot ab^2+1cdot b^3
$$
How come? Well, we are actually counting the number of ways we can pick factors from the sums:
$$
(a+b)^3=(a+b)(a+b)(a+b)
$$
so $a^3$ has coefficeint $1$ since there is only one way to pick $3$ "a"s. $a^2b$ has coefficient $3$ since we can pick $2$ "a"s and $1$ "b" in three different ways
$$
(underline{a}+b)(underline{a}+b)(a+underline{b})
$$
$$
(underline{a}+b)(a+underline{b})(underline{a}+b)
$$
and
$$
(a+underline{b})(underline{a}+b)(underline{a}+b).
$$
I hope this clarified a bit :)
$endgroup$
add a comment |
$begingroup$
For problem nr1:
A function can be thought of as a so called Cartesian product between two sets. That is
$$
f: Ato B, f(a)=b
$$
can be thought of as all ordered pairs ${(a,b)mid ain A, bin B}$ so what you are actually counting here is the number of ways you can create these pairs with some particular restrictions say you would like everything to be mapped to only one specific member of the target domain, that is $B$.
For problem nr2:
You are counting "how many ways can I pick $0$ elements from a set having $n$ elements" this is usually expressed as a so called binomial coefficient
$$
binom{n}{0}=frac{n!}{0!(n-0)!}=1
$$
for exaample.
How this is tied to the pascal triangle is as follows:
If you number the rows of the triangle starting from $0$ then the $k$th element in $n$th row is
$$
binom{n}{k}=frac{n!}{k!(n-k)!}.
$$
The name binomial coefficient comes from the fact that these numbers represent the coefficients in
$$
(a+b)^n.
$$
Let us look at an example:
$$
(a+b)^3=1cdot a^3+3cdot a^2b+3cdot ab^2+1cdot b^3
$$
How come? Well, we are actually counting the number of ways we can pick factors from the sums:
$$
(a+b)^3=(a+b)(a+b)(a+b)
$$
so $a^3$ has coefficeint $1$ since there is only one way to pick $3$ "a"s. $a^2b$ has coefficient $3$ since we can pick $2$ "a"s and $1$ "b" in three different ways
$$
(underline{a}+b)(underline{a}+b)(a+underline{b})
$$
$$
(underline{a}+b)(a+underline{b})(underline{a}+b)
$$
and
$$
(a+underline{b})(underline{a}+b)(underline{a}+b).
$$
I hope this clarified a bit :)
$endgroup$
add a comment |
$begingroup$
For problem nr1:
A function can be thought of as a so called Cartesian product between two sets. That is
$$
f: Ato B, f(a)=b
$$
can be thought of as all ordered pairs ${(a,b)mid ain A, bin B}$ so what you are actually counting here is the number of ways you can create these pairs with some particular restrictions say you would like everything to be mapped to only one specific member of the target domain, that is $B$.
For problem nr2:
You are counting "how many ways can I pick $0$ elements from a set having $n$ elements" this is usually expressed as a so called binomial coefficient
$$
binom{n}{0}=frac{n!}{0!(n-0)!}=1
$$
for exaample.
How this is tied to the pascal triangle is as follows:
If you number the rows of the triangle starting from $0$ then the $k$th element in $n$th row is
$$
binom{n}{k}=frac{n!}{k!(n-k)!}.
$$
The name binomial coefficient comes from the fact that these numbers represent the coefficients in
$$
(a+b)^n.
$$
Let us look at an example:
$$
(a+b)^3=1cdot a^3+3cdot a^2b+3cdot ab^2+1cdot b^3
$$
How come? Well, we are actually counting the number of ways we can pick factors from the sums:
$$
(a+b)^3=(a+b)(a+b)(a+b)
$$
so $a^3$ has coefficeint $1$ since there is only one way to pick $3$ "a"s. $a^2b$ has coefficient $3$ since we can pick $2$ "a"s and $1$ "b" in three different ways
$$
(underline{a}+b)(underline{a}+b)(a+underline{b})
$$
$$
(underline{a}+b)(a+underline{b})(underline{a}+b)
$$
and
$$
(a+underline{b})(underline{a}+b)(underline{a}+b).
$$
I hope this clarified a bit :)
$endgroup$
For problem nr1:
A function can be thought of as a so called Cartesian product between two sets. That is
$$
f: Ato B, f(a)=b
$$
can be thought of as all ordered pairs ${(a,b)mid ain A, bin B}$ so what you are actually counting here is the number of ways you can create these pairs with some particular restrictions say you would like everything to be mapped to only one specific member of the target domain, that is $B$.
For problem nr2:
You are counting "how many ways can I pick $0$ elements from a set having $n$ elements" this is usually expressed as a so called binomial coefficient
$$
binom{n}{0}=frac{n!}{0!(n-0)!}=1
$$
for exaample.
How this is tied to the pascal triangle is as follows:
If you number the rows of the triangle starting from $0$ then the $k$th element in $n$th row is
$$
binom{n}{k}=frac{n!}{k!(n-k)!}.
$$
The name binomial coefficient comes from the fact that these numbers represent the coefficients in
$$
(a+b)^n.
$$
Let us look at an example:
$$
(a+b)^3=1cdot a^3+3cdot a^2b+3cdot ab^2+1cdot b^3
$$
How come? Well, we are actually counting the number of ways we can pick factors from the sums:
$$
(a+b)^3=(a+b)(a+b)(a+b)
$$
so $a^3$ has coefficeint $1$ since there is only one way to pick $3$ "a"s. $a^2b$ has coefficient $3$ since we can pick $2$ "a"s and $1$ "b" in three different ways
$$
(underline{a}+b)(underline{a}+b)(a+underline{b})
$$
$$
(underline{a}+b)(a+underline{b})(underline{a}+b)
$$
and
$$
(a+underline{b})(underline{a}+b)(underline{a}+b).
$$
I hope this clarified a bit :)
answered 1 hour ago
Vinyl_coat_jawaVinyl_coat_jawa
2,4461029
2,4461029
add a comment |
add a comment |
$begingroup$
The numbers in pascal's triangle represent number of combinations... Starting the numbering of rows/columns in zero, the $k^{th}$ element in the $n^{th}$ row in the triangle is given by $binom{n}{k}$, which is the number of ways you can choose $k$ objects out of a set of $n$ elements. In your case, selecting a function means selecting a certain number of elements in to domain to be mapped on to zero (or one), so you see the connection is immediate.
$endgroup$
add a comment |
$begingroup$
The numbers in pascal's triangle represent number of combinations... Starting the numbering of rows/columns in zero, the $k^{th}$ element in the $n^{th}$ row in the triangle is given by $binom{n}{k}$, which is the number of ways you can choose $k$ objects out of a set of $n$ elements. In your case, selecting a function means selecting a certain number of elements in to domain to be mapped on to zero (or one), so you see the connection is immediate.
$endgroup$
add a comment |
$begingroup$
The numbers in pascal's triangle represent number of combinations... Starting the numbering of rows/columns in zero, the $k^{th}$ element in the $n^{th}$ row in the triangle is given by $binom{n}{k}$, which is the number of ways you can choose $k$ objects out of a set of $n$ elements. In your case, selecting a function means selecting a certain number of elements in to domain to be mapped on to zero (or one), so you see the connection is immediate.
$endgroup$
The numbers in pascal's triangle represent number of combinations... Starting the numbering of rows/columns in zero, the $k^{th}$ element in the $n^{th}$ row in the triangle is given by $binom{n}{k}$, which is the number of ways you can choose $k$ objects out of a set of $n$ elements. In your case, selecting a function means selecting a certain number of elements in to domain to be mapped on to zero (or one), so you see the connection is immediate.
answered 2 hours ago
PierreCarrePierreCarre
1,116111
1,116111
add a comment |
add a comment |
$begingroup$
Yes. Both follow from the binomial theorem:
$$2^n = (1+1)^n = {n choose 0}1^n + {n choose 1}1^{n-1}1 + {n choose 2} 1^{n-2}1^2dots + {n choose n}1^n$$
Since the rows of Pascal's triangle correspond to the binomial coefficients, then the sum of the $n$-th row is $2^n$ (numbering the topmost row that only has one 1 with 0).
$2^n$ is indeed the number of functions describes, or the size of the power set.
$endgroup$
add a comment |
$begingroup$
Yes. Both follow from the binomial theorem:
$$2^n = (1+1)^n = {n choose 0}1^n + {n choose 1}1^{n-1}1 + {n choose 2} 1^{n-2}1^2dots + {n choose n}1^n$$
Since the rows of Pascal's triangle correspond to the binomial coefficients, then the sum of the $n$-th row is $2^n$ (numbering the topmost row that only has one 1 with 0).
$2^n$ is indeed the number of functions describes, or the size of the power set.
$endgroup$
add a comment |
$begingroup$
Yes. Both follow from the binomial theorem:
$$2^n = (1+1)^n = {n choose 0}1^n + {n choose 1}1^{n-1}1 + {n choose 2} 1^{n-2}1^2dots + {n choose n}1^n$$
Since the rows of Pascal's triangle correspond to the binomial coefficients, then the sum of the $n$-th row is $2^n$ (numbering the topmost row that only has one 1 with 0).
$2^n$ is indeed the number of functions describes, or the size of the power set.
$endgroup$
Yes. Both follow from the binomial theorem:
$$2^n = (1+1)^n = {n choose 0}1^n + {n choose 1}1^{n-1}1 + {n choose 2} 1^{n-2}1^2dots + {n choose n}1^n$$
Since the rows of Pascal's triangle correspond to the binomial coefficients, then the sum of the $n$-th row is $2^n$ (numbering the topmost row that only has one 1 with 0).
$2^n$ is indeed the number of functions describes, or the size of the power set.
answered 2 hours ago
Todor MarkovTodor Markov
2,400412
2,400412
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3120104%2fquestion-related-to-pascal-triangles-and-counting-patterns%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
$begingroup$
Short answer: Yes it does.
$endgroup$
– PackSciences
2 hours ago
$begingroup$
Nice! I would love to see how.
$endgroup$
– geometric_construction
2 hours ago
$begingroup$
If you would spend some time trying to formulate what the patterns are your question is about (the question does not do this), you could probably gain more insight than by having us hash out the patterns.
$endgroup$
– Marc van Leeuwen
2 hours ago
$begingroup$
For a start, note that you seem to be classifying the functions $f:Ato B$ according to the value of the sum $sum_{xin A}f(x)$.
$endgroup$
– Marc van Leeuwen
1 hour ago
$begingroup$
@MarcvanLeeuwen, I edited my question per your suggestion.
$endgroup$
– geometric_construction
1 hour ago