Number of ways to go to goal vertex from start vertex
$begingroup$
I want to find out the number of ways to reach out to goal vertex from start vertex. The problem scenario is depicted as in the picture :
Here I want to go G vertex from S vertex. The only condition here is I can go up and right direction. DIrection diagonally/left/down is not allowed.
So keeping this condition in mind, what is the number of ways to go G vertex from S vertex?
My trying :
I have figured out the no of ways are, $1^2+2^2+3^3+ldots+(n-2)^2$. Is this correct?
sequences-and-series number-theory
$endgroup$
add a comment |
$begingroup$
I want to find out the number of ways to reach out to goal vertex from start vertex. The problem scenario is depicted as in the picture :
Here I want to go G vertex from S vertex. The only condition here is I can go up and right direction. DIrection diagonally/left/down is not allowed.
So keeping this condition in mind, what is the number of ways to go G vertex from S vertex?
My trying :
I have figured out the no of ways are, $1^2+2^2+3^3+ldots+(n-2)^2$. Is this correct?
sequences-and-series number-theory
$endgroup$
2
$begingroup$
can you explain how did you get the sum of squares formula?
$endgroup$
– Siong Thye Goh
Dec 31 '18 at 15:46
$begingroup$
hint: how many steps you need to go up (U), right (R)? combinations between them...UURURR, UUURRR....
$endgroup$
– dmtri
Dec 31 '18 at 15:51
add a comment |
$begingroup$
I want to find out the number of ways to reach out to goal vertex from start vertex. The problem scenario is depicted as in the picture :
Here I want to go G vertex from S vertex. The only condition here is I can go up and right direction. DIrection diagonally/left/down is not allowed.
So keeping this condition in mind, what is the number of ways to go G vertex from S vertex?
My trying :
I have figured out the no of ways are, $1^2+2^2+3^3+ldots+(n-2)^2$. Is this correct?
sequences-and-series number-theory
$endgroup$
I want to find out the number of ways to reach out to goal vertex from start vertex. The problem scenario is depicted as in the picture :
Here I want to go G vertex from S vertex. The only condition here is I can go up and right direction. DIrection diagonally/left/down is not allowed.
So keeping this condition in mind, what is the number of ways to go G vertex from S vertex?
My trying :
I have figured out the no of ways are, $1^2+2^2+3^3+ldots+(n-2)^2$. Is this correct?
sequences-and-series number-theory
sequences-and-series number-theory
edited Dec 31 '18 at 15:50
saulspatz
17k31435
17k31435
asked Dec 31 '18 at 15:44
Standard EquationStandard Equation
247113
247113
2
$begingroup$
can you explain how did you get the sum of squares formula?
$endgroup$
– Siong Thye Goh
Dec 31 '18 at 15:46
$begingroup$
hint: how many steps you need to go up (U), right (R)? combinations between them...UURURR, UUURRR....
$endgroup$
– dmtri
Dec 31 '18 at 15:51
add a comment |
2
$begingroup$
can you explain how did you get the sum of squares formula?
$endgroup$
– Siong Thye Goh
Dec 31 '18 at 15:46
$begingroup$
hint: how many steps you need to go up (U), right (R)? combinations between them...UURURR, UUURRR....
$endgroup$
– dmtri
Dec 31 '18 at 15:51
2
2
$begingroup$
can you explain how did you get the sum of squares formula?
$endgroup$
– Siong Thye Goh
Dec 31 '18 at 15:46
$begingroup$
can you explain how did you get the sum of squares formula?
$endgroup$
– Siong Thye Goh
Dec 31 '18 at 15:46
$begingroup$
hint: how many steps you need to go up (U), right (R)? combinations between them...UURURR, UUURRR....
$endgroup$
– dmtri
Dec 31 '18 at 15:51
$begingroup$
hint: how many steps you need to go up (U), right (R)? combinations between them...UURURR, UUURRR....
$endgroup$
– dmtri
Dec 31 '18 at 15:51
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
In your case there is a direct counting approach. Your path is a sequence of $n$ right steps (R's) and $m$ up steps (U's), with $m=n=3$. So you are asking how many strings can be made from 3 R's and 3 U's, which should be $binom{6}{3}$.
$endgroup$
$begingroup$
So for n = 4 , the no of ways are $ binom{8}{4} $ = 70 ?
$endgroup$
– Standard Equation
Dec 31 '18 at 15:53
1
$begingroup$
Isn't it $n-1$ R's and $m-1$ U's?
$endgroup$
– saulspatz
Dec 31 '18 at 16:29
$begingroup$
@saulspatz thanks fixed
$endgroup$
– gt6989b
Dec 31 '18 at 16:56
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%2f3057820%2fnumber-of-ways-to-go-to-goal-vertex-from-start-vertex%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
In your case there is a direct counting approach. Your path is a sequence of $n$ right steps (R's) and $m$ up steps (U's), with $m=n=3$. So you are asking how many strings can be made from 3 R's and 3 U's, which should be $binom{6}{3}$.
$endgroup$
$begingroup$
So for n = 4 , the no of ways are $ binom{8}{4} $ = 70 ?
$endgroup$
– Standard Equation
Dec 31 '18 at 15:53
1
$begingroup$
Isn't it $n-1$ R's and $m-1$ U's?
$endgroup$
– saulspatz
Dec 31 '18 at 16:29
$begingroup$
@saulspatz thanks fixed
$endgroup$
– gt6989b
Dec 31 '18 at 16:56
add a comment |
$begingroup$
In your case there is a direct counting approach. Your path is a sequence of $n$ right steps (R's) and $m$ up steps (U's), with $m=n=3$. So you are asking how many strings can be made from 3 R's and 3 U's, which should be $binom{6}{3}$.
$endgroup$
$begingroup$
So for n = 4 , the no of ways are $ binom{8}{4} $ = 70 ?
$endgroup$
– Standard Equation
Dec 31 '18 at 15:53
1
$begingroup$
Isn't it $n-1$ R's and $m-1$ U's?
$endgroup$
– saulspatz
Dec 31 '18 at 16:29
$begingroup$
@saulspatz thanks fixed
$endgroup$
– gt6989b
Dec 31 '18 at 16:56
add a comment |
$begingroup$
In your case there is a direct counting approach. Your path is a sequence of $n$ right steps (R's) and $m$ up steps (U's), with $m=n=3$. So you are asking how many strings can be made from 3 R's and 3 U's, which should be $binom{6}{3}$.
$endgroup$
In your case there is a direct counting approach. Your path is a sequence of $n$ right steps (R's) and $m$ up steps (U's), with $m=n=3$. So you are asking how many strings can be made from 3 R's and 3 U's, which should be $binom{6}{3}$.
edited Dec 31 '18 at 16:55
answered Dec 31 '18 at 15:50
gt6989bgt6989b
35.1k22557
35.1k22557
$begingroup$
So for n = 4 , the no of ways are $ binom{8}{4} $ = 70 ?
$endgroup$
– Standard Equation
Dec 31 '18 at 15:53
1
$begingroup$
Isn't it $n-1$ R's and $m-1$ U's?
$endgroup$
– saulspatz
Dec 31 '18 at 16:29
$begingroup$
@saulspatz thanks fixed
$endgroup$
– gt6989b
Dec 31 '18 at 16:56
add a comment |
$begingroup$
So for n = 4 , the no of ways are $ binom{8}{4} $ = 70 ?
$endgroup$
– Standard Equation
Dec 31 '18 at 15:53
1
$begingroup$
Isn't it $n-1$ R's and $m-1$ U's?
$endgroup$
– saulspatz
Dec 31 '18 at 16:29
$begingroup$
@saulspatz thanks fixed
$endgroup$
– gt6989b
Dec 31 '18 at 16:56
$begingroup$
So for n = 4 , the no of ways are $ binom{8}{4} $ = 70 ?
$endgroup$
– Standard Equation
Dec 31 '18 at 15:53
$begingroup$
So for n = 4 , the no of ways are $ binom{8}{4} $ = 70 ?
$endgroup$
– Standard Equation
Dec 31 '18 at 15:53
1
1
$begingroup$
Isn't it $n-1$ R's and $m-1$ U's?
$endgroup$
– saulspatz
Dec 31 '18 at 16:29
$begingroup$
Isn't it $n-1$ R's and $m-1$ U's?
$endgroup$
– saulspatz
Dec 31 '18 at 16:29
$begingroup$
@saulspatz thanks fixed
$endgroup$
– gt6989b
Dec 31 '18 at 16:56
$begingroup$
@saulspatz thanks fixed
$endgroup$
– gt6989b
Dec 31 '18 at 16:56
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%2f3057820%2fnumber-of-ways-to-go-to-goal-vertex-from-start-vertex%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
2
$begingroup$
can you explain how did you get the sum of squares formula?
$endgroup$
– Siong Thye Goh
Dec 31 '18 at 15:46
$begingroup$
hint: how many steps you need to go up (U), right (R)? combinations between them...UURURR, UUURRR....
$endgroup$
– dmtri
Dec 31 '18 at 15:51