Some things are quite easy

Algebra Level 1

Find out the 1999th term of the given series: 1, 3, 6, 10, 15, 21,...


The answer is 1999000.

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

Kay Xspre
Jan 6, 2016

The series is in the form of a n = m = 1 n m = n ( n + 1 ) 2 a_n = \sum_{m=1}^nm = \frac{n(n+1)}{2} , hence a 1999 = 1999 ( 2000 ) 2 = 1999000 a_{1999} = \frac{1999(2000)}{2} = 1999000

That's quite easy, right?

Piyush Palawat - 5 years, 5 months ago
Zyberg Nee
Jan 7, 2016

While I find Kay Xspre solution amazing, I solved it while using a little cheat: used C++ program to count the sum.

What I noticed was that to find 199 9 t h 1999^{th} you need I need to add all the numbers up to 1999 1999 in such way: 1 + 2 + 3 + 4 + 5... + 1999 1+2+3+4+5...+1999 .

Hence, you can write a program that would calculate such sum using any kind of loop. There's what I did with C++ (it would work pretty similarly with other programming languages as well):

#include <iostream>

using namespace std;

int main() {

    int sum = 0;
    for (int i = 1; i <= 1999; i++)
   {
        sum+= i;
    }
    cout << sum;

    return 0;
 }

While I find that solving without use of computer is better practice, solving with use of programming languages can help to understand different kind of programming concepts

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...