How many ways you can go from point A to point BNetwork connection: Create a network that guides the signal from start to goalSignal-network: Create a network that guides 2 signalsHow many boxes are conductors?Regain your bearings from the logiciansLEVEL connectionsHow many boxes do you see?Hidden numbers (hand drawn)How many hourglasses can the madman find?
Bit one of the Intel 8080's Flags register
Can I fix my boots by gluing the soles back on?
Which is the current decimal separator?
Specific filter on the set using Python
Is there any reason to concentrate on the Thunderous Smite spell after using its effects?
Why don't airports use arresting gears to recover energy from landing passenger planes?
How are unbalanced coaxial cables used for broadcasting TV signals without any problems?
Why does the speed of sound decrease at high altitudes although the air density decreases?
What do the French say for “Oh, you shouldn’t have”?
Can druids change their starting cantrips each day?
How to write characters doing illogical things in a believable way?
Does a succubus' charm end when it dies?
How do I say "quirky" in German without sounding derogatory?
Are space camera sensors usually round, or square?
Why is my fire extinguisher emptied after one use?
Output a Super Mario Image
If I want an interpretable model, are there methods other than Linear Regression?
Real mode flat model
Would it be unbalanced to increase Wild Shape uses based on level?
Reading double values from a text file
POSIX compatible way to get user name associated with a user ID
2000s space film where an alien species has almost wiped out the human race in a war
How can I discourage sharing internal API keys within a company?
Is low emotional intelligence associated with right-wing and prejudiced attitudes?
How many ways you can go from point A to point B
Network connection: Create a network that guides the signal from start to goalSignal-network: Create a network that guides 2 signalsHow many boxes are conductors?Regain your bearings from the logiciansLEVEL connectionsHow many boxes do you see?Hidden numbers (hand drawn)How many hourglasses can the madman find?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
$begingroup$

I know I have drawn the picture badly but can you tell how many ways we can go from point A to point B.
each path used once and no turning back...
visual
$endgroup$
add a comment
|
$begingroup$

I know I have drawn the picture badly but can you tell how many ways we can go from point A to point B.
each path used once and no turning back...
visual
$endgroup$
3
$begingroup$
Infinite.$phantom!$
$endgroup$
– greenturtle3141
8 hours ago
1
$begingroup$
Can the same point be visited more than once? Or each path used just once?
$endgroup$
– Weather Vane
8 hours ago
$begingroup$
@WeatherVane each path used once and there is no turning back...
$endgroup$
– Pʀıncess Anaya
8 hours ago
$begingroup$
Well, this is classic combination math question :P
$endgroup$
– Conifers
7 hours ago
1
$begingroup$
@Conifers To be fair, counting paths on triangular grids can be a research-level mathematics problem.
$endgroup$
– Rand al'Thor
6 hours ago
add a comment
|
$begingroup$

I know I have drawn the picture badly but can you tell how many ways we can go from point A to point B.
each path used once and no turning back...
visual
$endgroup$

I know I have drawn the picture badly but can you tell how many ways we can go from point A to point B.
each path used once and no turning back...
visual
visual
edited 8 hours ago
Pʀıncess Anaya
asked 8 hours ago
Pʀıncess AnayaPʀıncess Anaya
985 bronze badges
985 bronze badges
3
$begingroup$
Infinite.$phantom!$
$endgroup$
– greenturtle3141
8 hours ago
1
$begingroup$
Can the same point be visited more than once? Or each path used just once?
$endgroup$
– Weather Vane
8 hours ago
$begingroup$
@WeatherVane each path used once and there is no turning back...
$endgroup$
– Pʀıncess Anaya
8 hours ago
$begingroup$
Well, this is classic combination math question :P
$endgroup$
– Conifers
7 hours ago
1
$begingroup$
@Conifers To be fair, counting paths on triangular grids can be a research-level mathematics problem.
$endgroup$
– Rand al'Thor
6 hours ago
add a comment
|
3
$begingroup$
Infinite.$phantom!$
$endgroup$
– greenturtle3141
8 hours ago
1
$begingroup$
Can the same point be visited more than once? Or each path used just once?
$endgroup$
– Weather Vane
8 hours ago
$begingroup$
@WeatherVane each path used once and there is no turning back...
$endgroup$
– Pʀıncess Anaya
8 hours ago
$begingroup$
Well, this is classic combination math question :P
$endgroup$
– Conifers
7 hours ago
1
$begingroup$
@Conifers To be fair, counting paths on triangular grids can be a research-level mathematics problem.
$endgroup$
– Rand al'Thor
6 hours ago
3
3
$begingroup$
Infinite.$phantom!$
$endgroup$
– greenturtle3141
8 hours ago
$begingroup$
Infinite.$phantom!$
$endgroup$
– greenturtle3141
8 hours ago
1
1
$begingroup$
Can the same point be visited more than once? Or each path used just once?
$endgroup$
– Weather Vane
8 hours ago
$begingroup$
Can the same point be visited more than once? Or each path used just once?
$endgroup$
– Weather Vane
8 hours ago
$begingroup$
@WeatherVane each path used once and there is no turning back...
$endgroup$
– Pʀıncess Anaya
8 hours ago
$begingroup$
@WeatherVane each path used once and there is no turning back...
$endgroup$
– Pʀıncess Anaya
8 hours ago
$begingroup$
Well, this is classic combination math question :P
$endgroup$
– Conifers
7 hours ago
$begingroup$
Well, this is classic combination math question :P
$endgroup$
– Conifers
7 hours ago
1
1
$begingroup$
@Conifers To be fair, counting paths on triangular grids can be a research-level mathematics problem.
$endgroup$
– Rand al'Thor
6 hours ago
$begingroup$
@Conifers To be fair, counting paths on triangular grids can be a research-level mathematics problem.
$endgroup$
– Rand al'Thor
6 hours ago
add a comment
|
3 Answers
3
active
oldest
votes
$begingroup$
My answer is below
Ans: 321
because there is only one way of getting to each of the points in a northerly direction, and also going direct
east
$endgroup$
add a comment
|
$begingroup$
Assuming we can go only right and/or up, my answer is (as @SayedMohdAli's answer)
321
which was produced by this C code
#include <stdio.h>
#define MINGRID 2
#define MAXGRID 7
int grid;
int paths;
void recur(int x, int y)
if(x == grid - 1 && y == grid - 1)
paths++;
else if(x < grid && y < grid)
recur(x + 1, y);
recur(x, y + 1);
recur(x + 1, y + 1);
int main(void)
for(grid = MINGRID; grid <= MAXGRID; grid++)
paths = 0;
recur(0, 0);
printf(">! grid=%d paths=%d n", grid, paths);
along with solutions for other sized grids:
grid=2 paths=3
grid=3 paths=13
grid=4 paths=63
grid=5 paths=321
grid=6 paths=1683
grid=7 paths=8989
and OEIS has this sequence A001850.
Central Delannoy numbers
3,13,63,321,1683,8989
Number of paths from (0,0) to (n,n) in an n X n grid using only steps north, northeast and east (i.e., steps (1,0), (1,1), and (0,1))
although I didn't look it up first!
There doesn't seem to be a clear and simple formula for it.
$endgroup$
$begingroup$
+1 for OEIS has this sequence Central Delannoy numbers
$endgroup$
– Sayed Mohd Ali
5 hours ago
add a comment
|
$begingroup$
In a crude mathematical induction applied, I can
move in 3 ways, if there is one square, 31( 9diagonally + 11lateral) + 11lateral) ways, if there are 4 squares ... and so on...
And hence with
16 squares, it is 2^17 - 1 ways
$endgroup$
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "559"
;
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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/4.0/"u003ecc by-sa 4.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%2fpuzzling.stackexchange.com%2fquestions%2f89067%2fhow-many-ways-you-can-go-from-point-a-to-point-b%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$
My answer is below
Ans: 321
because there is only one way of getting to each of the points in a northerly direction, and also going direct
east
$endgroup$
add a comment
|
$begingroup$
My answer is below
Ans: 321
because there is only one way of getting to each of the points in a northerly direction, and also going direct
east
$endgroup$
add a comment
|
$begingroup$
My answer is below
Ans: 321
because there is only one way of getting to each of the points in a northerly direction, and also going direct
east
$endgroup$
My answer is below
Ans: 321
because there is only one way of getting to each of the points in a northerly direction, and also going direct
east
answered 8 hours ago
Sayed Mohd AliSayed Mohd Ali
42014 bronze badges
42014 bronze badges
add a comment
|
add a comment
|
$begingroup$
Assuming we can go only right and/or up, my answer is (as @SayedMohdAli's answer)
321
which was produced by this C code
#include <stdio.h>
#define MINGRID 2
#define MAXGRID 7
int grid;
int paths;
void recur(int x, int y)
if(x == grid - 1 && y == grid - 1)
paths++;
else if(x < grid && y < grid)
recur(x + 1, y);
recur(x, y + 1);
recur(x + 1, y + 1);
int main(void)
for(grid = MINGRID; grid <= MAXGRID; grid++)
paths = 0;
recur(0, 0);
printf(">! grid=%d paths=%d n", grid, paths);
along with solutions for other sized grids:
grid=2 paths=3
grid=3 paths=13
grid=4 paths=63
grid=5 paths=321
grid=6 paths=1683
grid=7 paths=8989
and OEIS has this sequence A001850.
Central Delannoy numbers
3,13,63,321,1683,8989
Number of paths from (0,0) to (n,n) in an n X n grid using only steps north, northeast and east (i.e., steps (1,0), (1,1), and (0,1))
although I didn't look it up first!
There doesn't seem to be a clear and simple formula for it.
$endgroup$
$begingroup$
+1 for OEIS has this sequence Central Delannoy numbers
$endgroup$
– Sayed Mohd Ali
5 hours ago
add a comment
|
$begingroup$
Assuming we can go only right and/or up, my answer is (as @SayedMohdAli's answer)
321
which was produced by this C code
#include <stdio.h>
#define MINGRID 2
#define MAXGRID 7
int grid;
int paths;
void recur(int x, int y)
if(x == grid - 1 && y == grid - 1)
paths++;
else if(x < grid && y < grid)
recur(x + 1, y);
recur(x, y + 1);
recur(x + 1, y + 1);
int main(void)
for(grid = MINGRID; grid <= MAXGRID; grid++)
paths = 0;
recur(0, 0);
printf(">! grid=%d paths=%d n", grid, paths);
along with solutions for other sized grids:
grid=2 paths=3
grid=3 paths=13
grid=4 paths=63
grid=5 paths=321
grid=6 paths=1683
grid=7 paths=8989
and OEIS has this sequence A001850.
Central Delannoy numbers
3,13,63,321,1683,8989
Number of paths from (0,0) to (n,n) in an n X n grid using only steps north, northeast and east (i.e., steps (1,0), (1,1), and (0,1))
although I didn't look it up first!
There doesn't seem to be a clear and simple formula for it.
$endgroup$
$begingroup$
+1 for OEIS has this sequence Central Delannoy numbers
$endgroup$
– Sayed Mohd Ali
5 hours ago
add a comment
|
$begingroup$
Assuming we can go only right and/or up, my answer is (as @SayedMohdAli's answer)
321
which was produced by this C code
#include <stdio.h>
#define MINGRID 2
#define MAXGRID 7
int grid;
int paths;
void recur(int x, int y)
if(x == grid - 1 && y == grid - 1)
paths++;
else if(x < grid && y < grid)
recur(x + 1, y);
recur(x, y + 1);
recur(x + 1, y + 1);
int main(void)
for(grid = MINGRID; grid <= MAXGRID; grid++)
paths = 0;
recur(0, 0);
printf(">! grid=%d paths=%d n", grid, paths);
along with solutions for other sized grids:
grid=2 paths=3
grid=3 paths=13
grid=4 paths=63
grid=5 paths=321
grid=6 paths=1683
grid=7 paths=8989
and OEIS has this sequence A001850.
Central Delannoy numbers
3,13,63,321,1683,8989
Number of paths from (0,0) to (n,n) in an n X n grid using only steps north, northeast and east (i.e., steps (1,0), (1,1), and (0,1))
although I didn't look it up first!
There doesn't seem to be a clear and simple formula for it.
$endgroup$
Assuming we can go only right and/or up, my answer is (as @SayedMohdAli's answer)
321
which was produced by this C code
#include <stdio.h>
#define MINGRID 2
#define MAXGRID 7
int grid;
int paths;
void recur(int x, int y)
if(x == grid - 1 && y == grid - 1)
paths++;
else if(x < grid && y < grid)
recur(x + 1, y);
recur(x, y + 1);
recur(x + 1, y + 1);
int main(void)
for(grid = MINGRID; grid <= MAXGRID; grid++)
paths = 0;
recur(0, 0);
printf(">! grid=%d paths=%d n", grid, paths);
along with solutions for other sized grids:
grid=2 paths=3
grid=3 paths=13
grid=4 paths=63
grid=5 paths=321
grid=6 paths=1683
grid=7 paths=8989
and OEIS has this sequence A001850.
Central Delannoy numbers
3,13,63,321,1683,8989
Number of paths from (0,0) to (n,n) in an n X n grid using only steps north, northeast and east (i.e., steps (1,0), (1,1), and (0,1))
although I didn't look it up first!
There doesn't seem to be a clear and simple formula for it.
answered 7 hours ago
Weather VaneWeather Vane
6,0861 gold badge4 silver badges24 bronze badges
6,0861 gold badge4 silver badges24 bronze badges
$begingroup$
+1 for OEIS has this sequence Central Delannoy numbers
$endgroup$
– Sayed Mohd Ali
5 hours ago
add a comment
|
$begingroup$
+1 for OEIS has this sequence Central Delannoy numbers
$endgroup$
– Sayed Mohd Ali
5 hours ago
$begingroup$
+1 for OEIS has this sequence Central Delannoy numbers
$endgroup$
– Sayed Mohd Ali
5 hours ago
$begingroup$
+1 for OEIS has this sequence Central Delannoy numbers
$endgroup$
– Sayed Mohd Ali
5 hours ago
add a comment
|
$begingroup$
In a crude mathematical induction applied, I can
move in 3 ways, if there is one square, 31( 9diagonally + 11lateral) + 11lateral) ways, if there are 4 squares ... and so on...
And hence with
16 squares, it is 2^17 - 1 ways
$endgroup$
add a comment
|
$begingroup$
In a crude mathematical induction applied, I can
move in 3 ways, if there is one square, 31( 9diagonally + 11lateral) + 11lateral) ways, if there are 4 squares ... and so on...
And hence with
16 squares, it is 2^17 - 1 ways
$endgroup$
add a comment
|
$begingroup$
In a crude mathematical induction applied, I can
move in 3 ways, if there is one square, 31( 9diagonally + 11lateral) + 11lateral) ways, if there are 4 squares ... and so on...
And hence with
16 squares, it is 2^17 - 1 ways
$endgroup$
In a crude mathematical induction applied, I can
move in 3 ways, if there is one square, 31( 9diagonally + 11lateral) + 11lateral) ways, if there are 4 squares ... and so on...
And hence with
16 squares, it is 2^17 - 1 ways
edited 7 hours ago
answered 8 hours ago
Mea Culpa NayMea Culpa Nay
7,1741 gold badge7 silver badges42 bronze badges
7,1741 gold badge7 silver badges42 bronze badges
add a comment
|
add a comment
|
Thanks for contributing an answer to Puzzling 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%2fpuzzling.stackexchange.com%2fquestions%2f89067%2fhow-many-ways-you-can-go-from-point-a-to-point-b%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

3
$begingroup$
Infinite.$phantom!$
$endgroup$
– greenturtle3141
8 hours ago
1
$begingroup$
Can the same point be visited more than once? Or each path used just once?
$endgroup$
– Weather Vane
8 hours ago
$begingroup$
@WeatherVane each path used once and there is no turning back...
$endgroup$
– Pʀıncess Anaya
8 hours ago
$begingroup$
Well, this is classic combination math question :P
$endgroup$
– Conifers
7 hours ago
1
$begingroup$
@Conifers To be fair, counting paths on triangular grids can be a research-level mathematics problem.
$endgroup$
– Rand al'Thor
6 hours ago