Recursive Sequence Sum

Algebra Level 3

Let a n a_n be a recursive function satisfying a n = a n 1 + 2 n 1 a_n=a_{n-1}+2n-1 for all positive integers n n , and a 0 = 0 a_0=0 . What is the value of n = 1 100 a n \displaystyle \sum _{n=1}^{100}a_n ?


Try Part II


The answer is 338350.

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.

3 solutions

Aaron Tsai
May 29, 2016

The difference between the n n th perfect square and the n 1 n-1 th perfect square is always the n n th (positive) odd number. Note that the 2 n 1 2n-1 in the equation represents that odd number and a n 1 a_{n-1} is the previous perfect square (starting from a 0 = 0 a_0=0 ). So, a n = n 2 a_n=n^2 ; the question is just asking us for the sum of the first 100 perfect squares , which is ( 100 ) ( 100 + 1 ) ( 2 100 + 1 ) 6 = 338350 \frac{(100)(100+1)(2\cdot100+1)}{6}=\boxed{338350}

A rigorous approach Let s be sum up to n terms s = a 0 + a 1 + a 2 . . . . . . . . . . . . . . . . a n ( 1 ) s = 0 + a 0 + a 1 + a 2 . . . . . . . . . . . . . . . . a n ( 2 ) ( 1 ) ( 2 ) 0 = a 0 a n + i = 1 n ( 2 n 1 ) a n = 2 n ( n + 1 ) 2 n = n 2 s={ a }_{ 0 }+{ a }_{ 1 }+{ a }_{ 2 }................{ a }_{ n }\quad \quad \quad \quad \quad \quad (1)\\ s=\quad 0+{ a }_{ 0 }+{ a }_{ 1 }+{ a }_{ 2 }................{ a }_{ n }\quad \quad \quad (2)\\ (1)-(2)\\ 0={ a }_{ 0 }-{ a }_{ n }+\sum _{ i=1 }^{ n }{ (2n-1) } \\ { a }_{ n }=2\frac { n(n+1) }{ 2 } -n\quad ={ n }^{ 2 }

Mayank Chaturvedi - 5 years ago
Chew-Seong Cheong
May 30, 2016

The first few a n a_n show that a n = n 2 a_n = n^2 , let us prove it by induction if it is true for all n > 0 n > 0 .

  1. For n = 1 n = 1 , then a 1 = a 0 + 2 ( 1 ) 1 = 0 + 2 1 = 1 = 1 2 a_1 = a_0 + 2(1) - 1 = 0 + 2 - 1 = 1 = 1^2\implies the claim is true for n = 1 n=1 .
  2. Assuming that the claim is true for any n n , then:

a n + 1 = a n + 2 ( n + 1 ) 1 = n 2 + 2 n + 1 = ( n + 1 ) 2 \begin{aligned} \quad a_{n+1} & = a_n + 2(n+1) - 1 \\ & = n^2 + 2n + 1 \\ & = (n+1)^2 \end{aligned}

\quad The claim is also true for n + 1 n+1 .

We have, by induction, the claim a n = n 2 a_n = n^2 is true for all n > 0 n > 0 . Therefore,

n = 1 100 a n = n = 1 100 a 2 = 100 ( 101 ) ( 201 6 = 338350 \begin{aligned} \sum_{n=1}^{100} a_n & = \sum_{n=1}^{100} a^2 \\ & = \frac{100(101)(201}{6} \\ & = \boxed{338350} \end{aligned}

Aakash Khandelwal
May 30, 2016

Take summation on both sides of given recurrence relation .

Then a n a 0 = n 2 a_n - a_0 = n^{2} .

Therefore a n = n 2 a_n= n^{2} .

Now again taking summation on both sides from n=1 to 100,

We get S r e q = ( 100 × 101 × 201 ) / 6 S_{req} =( 100\times 101 \times 201)/6 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...