My Version of Pascal's Triangle

The above picture shows the first six rows of my version of Pascal's Triangle. The basic rules apply, but the first and last term for all n th n^{\text{th}} equals to n 1 n-1 .

Let f ( n ) f(n) denote the sum of the entries in the row that begins with n n .

What is the value of f ( 100 ) f ( 50 ) m o d 25 \frac {f(100)}{f(50) } \bmod {25} ?


The answer is 0.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

4 solutions

Let { n p } \left\{ \begin{matrix} n \\ p \end{matrix} \right\} the element in the n n -th row and p p -th column. So { n 0 } = { n p } = n \left\{ \begin{matrix} n \\ 0 \end{matrix} \right\} = \left\{ \begin{matrix} n \\ p \end{matrix} \right\} = n and the "Pascal Rule" holds: { n p } + { n p + 1 } = { n + 1 p + 1 } \left\{ \begin{matrix} n \\ p \end{matrix} \right\} + \left\{ \begin{matrix} n \\ p+1 \end{matrix} \right\} = \left\{ \begin{matrix} n+1 \\ p+1 \end{matrix} \right\} Then, we have: f ( n ) = p = 0 n { n p } f(n) = \sum_{p=0}^{n} \left\{ \begin{matrix} n \\ p \end{matrix} \right\} \Rightarrow 2 f ( n ) = { n 0 } + p = 0 n 1 [ { n p } + { n p + 1 } ] + { n n } 2f(n) = \left\{ \begin{matrix} n \\ 0 \end{matrix} \right\} + \sum_{p=0}^{n-1} \left[ \left\{ \begin{matrix} n \\ p \end{matrix} \right\} + \left\{ \begin{matrix} n \\ p + 1 \end{matrix} \right\} \right] + \left\{ \begin{matrix} n \\ n \end{matrix} \right\} \Rightarrow 2 f ( n ) + 2 = p = 0 n + 1 { n + 1 p + 1 } 2f(n) + 2 = \sum_{p=0}^{n+1} \left\{ \begin{matrix} n +1\\ p+1 \end{matrix} \right\} \Rightarrow f ( n + 1 ) = 2 f ( n ) + 2 f(n+1) = 2f(n) + 2 Notice that f ( 0 ) = 0 f(0) = 0 . Then: k = 1 n f ( k ) 2 k 1 = k = 1 n f ( k 1 ) 2 k 2 + 1 2 k 2 \sum_{k=1}^{n} \dfrac{f(k)}{2^{k-1}} = \sum_{k=1}^{n} \dfrac{f(k-1)}{2^{k-2}} +\dfrac{1}{2^{k-2}} \Rightarrow f ( n ) = 2 n + 1 2 f(n) = 2^{n+1} -2

So, f ( 100 ) f ( 50 ) = 2 101 2 2 5 1 2 = 2 5 0 + 1 \dfrac{f(100)}{f(50)} = \dfrac{2^{101 }-2}{2^51 - 2} = 2^50+1 . Notice that 2 10 = 1024 1 m o d 25 2 50 + 1 0 m o d 25 2^{10} = 1024 \equiv -1 \mod 25 \Rightarrow 2^{50} + 1 \equiv 0 \mod 25 So, the answer is 0 0

Fantastic!

Finn Hulse - 6 years, 5 months ago
Utkarsh Bansal
Mar 19, 2015

Nice problem but overrated!

Curtis Clement
Mar 12, 2015

f ( 0 ) = 0 , f ( 1 ) = 2 , f ( 2 ) = 6 , f ( 3 ) = 14 f ( n ) = 2 ( 2 n 1 ) f(0) = 0 \ , \ f(1) = 2 \ , \ f(2) = 6 \ , \ f(3) = 14 \Rightarrow\ f(n) = 2(2^n-1) Now we assume this is true and use induction. Well it is clear to see that each element in a row except for the ends is counted twice to obtain the next row. This means we have to over-count, subtract the elements at the end and then add the ends of the next row as follows: f ( n + 1 ) = 2 f ( n ) 2 n + 2 ( n + 1 ) = 4 ( 2 n 1 ) + 2 f(n+1) = 2f(n) -2n +2(n+1) = 4(2^n-1) +2 = 2 n + 2 2 = 2 ( 2 n + 1 1 ) a s r e q u i r e d = 2^{n+2} - 2 = 2(2^{n+1} -1) \ as \ required SO: f ( 100 ) f ( 50 ) = 2 ( 2 100 1 ) 2 ( 2 50 1 ) = ( 2 50 + 1 ) ( 2 50 1 ) 2 50 1 = 2 50 + 1 \frac{f(100)}{f(50)} = \frac{2(2^{100} -1)}{2(2^{50}-1)} = \frac{(2^{50} +1)(2^{50}-1)}{2^{50} -1} = 2^{50} +1 2 10 1 m o d ( 25 ) 2^{10} \equiv-1\mod(25) 2 50 + 1 1 + 1 0 m o d ( 25 ) \therefore\ 2^{50} + 1\equiv-1+1\equiv0\mod(25)

By observation and induction it can be shown that (see this special Pascal Triangle above):

f ( n ) = 2 n + 1 2 f(n) = 2^{n+1}-2

Therefore,

f ( 100 ) f ( 50 ) = 2 101 2 2 51 2 = 2 100 1 2 50 1 = ( 2 50 + 1 ) ( 2 50 1 ) 2 50 1 = 2 50 + 1 \dfrac {f(100)}{f(50)} = \dfrac {2^{101}-2}{2^{51}-2} = \dfrac {2^{100}-1}{2^{50}-1} = \dfrac {(2^{50}+1)(2^{50}-1)}{2^{50}-1} = 2^{50}+1

Now it is to find:

( 2 50 + 1 ) ( m o d 25 ) [ ( 2 10 ) 5 + 1 ] ( m o d 25 ) (2^{50}+1) \pmod {25} \equiv [(2^{10})^5 + 1] \pmod{25}

[ ( 1025 1 ) 5 + 1 ] ( m o d 25 ) ( 1 + 1 ) ( m o d 25 ) 0 ( m o d 25 ) \equiv [(1025-1)^5 + 1] \pmod {25} \equiv (-1+1) \pmod {25} \equiv \boxed{0} \pmod {25}

Exactly the way I did it, I'm not sure why this problem is so difficult. Congrats @Parth Lohomi for such a cool pattern! :D

Finn Hulse - 6 years, 5 months ago

Log in to reply

Yes, I very nice problem.

Chew-Seong Cheong - 6 years, 5 months ago

Thanks sir!!

Parth Lohomi - 6 years, 5 months ago

Pascal triangle which i Knew is not same as here.. I thought pascal triangle is like this . The pattern of numbers doesn't match ..

Vighnesh Raut - 6 years, 5 months ago

Log in to reply

You are right. This is another triangle for this problem only. It is just like a pascal but not it

Chew-Seong Cheong - 6 years, 5 months ago

Log in to reply

can you please tell me the pattern of number in nth row...

Vighnesh Raut - 6 years, 5 months ago

Log in to reply

@Vighnesh Raut I can but it is very tedious. There is a pattern. You know that the first element of each row is n n , the second element is 2 , 4 ( 2 + 2 ) , 7 ( 4 + 3 ) , . . . 2, 4(2+2),7(4+3),... and all that.

Chew-Seong Cheong - 6 years, 5 months ago

Log in to reply

@Chew-Seong Cheong thnx......the elements are obtained same as obtained in real pascal's triangle...

Vighnesh Raut - 6 years, 5 months ago

Log in to reply

@Vighnesh Raut Yes, that is why the title of the problem is "Inspired by Pascal Triangle". It is not Pascal Triangle but works like one.

Chew-Seong Cheong - 6 years, 5 months ago

am i the only on who use intitution?

math man - 6 years, 3 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...