Question

Help with Pascal’s Triangle: Paths and Binary Strings

Suppose you want to create a path between each number on Pascals Triangle. For this exercise, suppose the only moves allowed

0 0
Add a comment Improve this question Transcribed image text
Answer #1

a. The additional paths between the starting point (number 1 at the top) and

the ending point (leftmost 3) as shown in the given diagram are

1. Going down left, then down right and finally down left. The corresponding binary string is 010.

Binary string: START olo O O O O 5 10 10.

2. Going down right, then down left and again down left. The corresponding binary string is 100.
Binary string: START 100 o O O 5 10 10

b. Consider the leftmost 4 in the 4th row. The paths are

START Binary string: No. of paths 0001, 0010, 0100, 1000 O O 5 10 10.

Consider the middle 6 in the 4th row. The paths are

START No. of paths Binary string : 0011, 0101, 010, 1010, 6 1100 ,1001 O 5 10 10.

Consider the rightmost 4 in the 4th row. The paths are

Binary string: START No. of paths -4 1110, 1110, 1011, 0111 ☺ O 5 10 10.

Consider the leftmost 5 in the 5th row. The paths are

.

Consider the rightmost 5 in the 5th row. The paths are

.

Similarities and differences:

The number of digits in a binary string of n-th row is n. If we ignore the border line 1s of the triangle and begin counting from the left, then number of 1s in the binary string in the m-th number of a row is m.

Also, the number of paths for a particular entry k is k.

c. As already stated in (b) , the length of a binary string of a number in n-th row is n. The number of 1s in the binary string in the m-th number of a row is m.

d. Consider two entries m and n in a particular row. Adding them, one will get the entry m+n in the next row.

Hence number of paths leading to the entry m+n in a particular row is the sum of the numbers of paths leading to the two entries m and n in the previous row.

Add a comment
Know the answer?
Add Answer to:
Help with Pascal’s Triangle: Paths and Binary Strings Suppose you want to create a path between...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT