Search for a tool
Path Search in a Pyramid Triangle

Tool to search path in a number pyramid. Path search in a pyramid triangle allows to fint the shortest path or the longest path by traversing the graph (tree) from the root to its leaves or from the bottom to the top.

Results

Path Search in a Pyramid Triangle -

Tag(s) : Graph Theory,Mathematics

dCode and you

dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day!
You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? Contact-me!

Team dCode read all messages and answer them if you leave an email (not published). It is thanks to you that dCode has the best Path Search in a Pyramid Triangle tool. Thank you.

# Path Search in a Pyramid Triangle

## Path search in a Pyramid of Numbers

### Counting

Also on dCode: Pascal's Triangle

Tool to search path in a number pyramid. Path search in a pyramid triangle allows to fint the shortest path or the longest path by traversing the graph (tree) from the root to its leaves or from the bottom to the top.

### How to find the shortest path?

One has to traverse the pyramid (or the triangle) from top to bottom, adding values that gave a the smallest total respecting a signle rule : one can only go to one of the two numbers immediately below.

### How to find the longest path?

One has to traverse the pyramid from top to bottom, adding values that gave a the highest total.

### How to count possible paths?

Total number of path in a pyramid of height H is given by the formula : $$2^{H-1}$$