Triangular numbers

Algebra Level 5

Let T 1 , T 2 , . . . , T i T_1, T_2, ..., T_i be the first i i triangular numbers. Evaluate the last five digits of:

i = 1 101 T i T 102 i = T 1 T 101 + T 2 T 100 + . . . + T 101 T 1 \sum_{i=1} ^{101} T_i T_{102-i} = T_1 T_{101} + T_2 T_{100}+...+T_{101} T_1

Note: The n n th triangular number is the sum of the first n n natural numbers T n = n ( n + 1 ) 2 T_n = \dfrac{n(n+1)}{2} . For instance T 5 = 1 + 2 + 3 + 4 + 5 = 5 6 2 = 15 T_5 = 1+2+3+4+5 = \dfrac{5 \cdot 6}{2} = 15 .


The answer is 60646.

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.

2 solutions

Mark Hennings
Jul 11, 2017

With T n = 1 2 n ( n + 1 ) T_n = \tfrac12n(n+1) we obtain S N = j = 1 N T j T N + 1 j = 1 4 j = 1 N j ( j + 1 ) ( N + 1 j ) ( N + 2 j ) = 1 4 j = 1 N j ( j + 1 ) [ ( j + 2 ) ( j + 3 ) 2 ( N + 4 ) ( j + 2 ) + ( N + 3 ) ( N + 4 ) ] = 1 4 ( 1 5 N ( N + 1 ) ( N + 2 ) ( N + 3 ) ( N + 4 ) 2 ( N + 4 ) × 1 4 N ( N + 1 ) ( N + 2 ) ( N + 3 ) + ( N + 3 ) ( N + 4 ) × 1 3 N ( N + 1 ) ( N + 2 ) ) = 1 4 ( 1 5 1 2 + 1 3 ) N ( N + 1 ) ( N + 2 ) ( N + 3 ) ( N + 4 ) = 1 120 N ( N + 1 ) ( N + 2 ) ( N + 3 ) ( N + 4 ) = ( N + 4 5 ) \begin{aligned} S_N & = \; \sum_{j=1}^N T_j T_{N+1-j} \; = \; \tfrac14\sum_{j=1}^N j(j+1)(N+1-j)(N+2-j) \\ & = \; \tfrac14\sum_{j=1}^N j(j+1)\Big[(j+2)(j+3) - 2(N+4)(j+2) + (N+3)(N+4)\Big] \\ & = \; \tfrac14\left(\begin{array}{l}\tfrac15N(N+1)(N+2)(N+3)(N+4) - 2(N+4) \times \tfrac14N(N+1)(N+2)(N+3) \\+ (N+3)(N+4) \times \tfrac13N(N+1)(N+2)\end{array}\right) \\ & = \; \tfrac14\big(\tfrac15 - \tfrac12 + \tfrac13\big)N(N+1)(N+2)(N+3)(N+4) \\ & = \; \tfrac{1}{120}N(N+1)(N+2)(N+3)(N+4) \; = \; \binom{N+4}{5} \end{aligned} The question asks about S 101 = ( 105 5 ) = 96560646 S_{101} \; =\; \binom{105}{5} \; = \; 96560646 making the last five digits 60646 \boxed{60646} .

@Mark Hennings , we really liked your comment, and have converted it into a solution. If you subscribe to this solution, you will receive notifications about future comments.

Brilliant Mathematics Staff - 3 years, 11 months ago

@Mark Hennings Can you explain how you've got the relation between the second line and the third line of your equation?

Filippo Olivetti - 3 years, 11 months ago

Log in to reply

I am using a standard identity (easily proven by induction) that j = 1 n j ( j + 1 ) ( j + 2 ) ( j + k ) = 1 k + 2 n ( n + 1 ) ( n + 2 ) ( n + k ) ( n + k + 1 ) \sum_{j=1}^n j(j+1)(j+2)\cdots(j+k) \; = \; \tfrac{1}{k+2}n(n+1)(n+2) \cdots (n+k)(n+k+1) for any positive integer k k .

Mark Hennings - 3 years, 11 months ago
Filippo Olivetti
Jul 11, 2017

I'll use a double counting technique in order to get the number of ways to go from B B to C C using \uparrow and \rightarrow movements.

Clearly the total number of ways to go from B B to C C in a rectangle of 5x100 is ( 100 + 5 5 ) = ( 105 5 ) \binom{100+5}{5} = \binom{105}{5}

On the other hand, we are able to "manipulate" the pathway counting separately the ones which pass through T 1 T_1 and immediately after make a \uparrow movement, the ones which pass through T 2 T_2 and immediately after make a \uparrow movement and so on until T 100 T_{100} : then, it suffices to sum up all the different paths.

  • Paths which pass trough T 1 T_1 and immediately after make a \uparrow movement : they are made of all the pathways which start from B B to T 1 T_1 and all the ones which start from T 1 T_1 to C C . So they are ( 0 + 2 2 ) ( 100 + 2 2 ) = T 1 T 101 \binom{0+2}{2} \cdot \binom{100+2}{2} = T_1 \cdot T_{101}
  • Paths which pass trough T 2 T_2 and immediately after make a \uparrow movement : as the previous case they are ( 1 + 2 2 ) ( 99 + 2 2 ) = T 2 T 100 \binom{1+2}{2} \cdot \binom{99+2}{2} = T_2 \cdot T_{100}

and so on. So, i = 1 101 T i T 102 i = T 1 T 101 + T 2 T 100 + . . . + T 101 T 1 = ( 105 5 ) = 96 , 560 , 646 \sum_{i=1} ^{101} T_i T_{102-i} = T_1 T_{101} + T_2 T_{100}+...+T_{101} T_1 = \binom{105}{5} = 96,560,646 The answer is 60646 \boxed{60646}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...