Simple logic pattern

Logic Level 2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1\\ 2\quad 3\quad 4\\ 5\quad 6\quad 7\quad 8\quad 9\\ 10\quad 11\quad 12\quad 13\quad 14\quad 15\quad 16\\ \vdots \

If the above pattern continues, what will be the middle term of the 10 0 th 100^{\text{th}} row?


The answer is 9901.

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.

11 solutions

Kay Xspre
Dec 3, 2015

Notice that at the end of n t h n^{th} row, the number will be n 2 n^2 , therefore at the row 100, the last number will be 10000, and that row start from where row 99 left off at 9801 (i.e. row 100 starts with 9802 and ends with 10000). Since that row contains 199 number, the number in the middle is then the number at position of 100 of row 100, which means the middle term is 9802 + 99 = 9901 9802+99 = 9901

nice method!!

Shreyansh Choudhary - 5 years, 6 months ago

We note that the middle terms of the first four rows are 1 , 3 , 7 , 13 1,3,7,13 . This implies that the middle term a n a_n is given by a 1 = 1 a_1 = 1 and a n = a n 1 + 2 ( n 1 ) a_n = a_{n-1}+2(n-1) for n > 1 n > 1 . Therefore,

a 100 = 1 + 2 + 4 + 6 + . . . + 2 ( 99 ) = 1 + 2 ( 1 + 2 + 3 + . . . + 99 ) = 1 + 2 × 99 ( 100 ) 2 = 9901 \begin{aligned} a_{100} & = 1 + 2 + 4 + 6 + ...+ 2(99) \\ & = 1 + 2(1+2+3+...+99) \\ & = 1 + 2 \times \frac{99(100)}{2} \\ & = \boxed{9901} \end{aligned}

Roberto Passos
Dec 8, 2015

n² - (n - 1)

Achille 'Gilles'
Dec 8, 2015

Number in the middle of the row is going to be:

n(n-1)+1

so 100th row is 100(100-1)+1 = 9901

The pattern can be represent as f ( x ) = x 2 x + 1 f(x)=x^2-x+1

So f ( 100 ) = 10 0 2 100 + 1 f(100)=100^2-100+1 = 10000 100 + 1 =10000-100+1 = 9901 =9901

or we can use C++ instead of handwritting

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#include <iostream>
using namespace std;

int main() {
int a,b;

a=1; b=2;
for(int i=1;i<100;i++){
    a=a+b;
    b=b+2;
}
cout<<a<<endl; //output will be 9901
}

Resha Dwika Hefni Al-Fahsi - 5 years, 6 months ago
Ashish Menon
May 5, 2016

All we have to do is find the sum of first 99 even natural numbers and add 1 to the result.
= ( 2 + 198 2 × 99 ) + 1 = 9901 \left(\dfrac{2 + 198}{2} × 99\right) + 1 = \boxed{9901} .

Chan Lye Lee
Dec 4, 2015

The middle term of the n th n^{\text {th}} row is n 2 + ( n 1 ) 2 2 \displaystyle\left\lceil\frac{n^2+(n-1)^2}{2}\right\rceil . So the answer is 10 0 2 + 9 9 2 2 = 9901 \displaystyle\left\lceil\frac{100^2+99^2}{2}\right\rceil=9901 .

Saya Suka
Mar 23, 2021

M(n) = n(n - 1) + 1

M(100) = 100(99) + 1
= 9900 + 1
= 9901

Barr Shiv
Dec 3, 2018

the numbers in each row is given by the connection a(n)=1+2(n-1) summing up the numbers in each row will give us the last number to the n' row. so s(100)= (200)×100/2=10000. at the 100th row there are 199 numbers. so the middle number would be the 100th in the row: 1000-99=9901

John Wyatt
Dec 29, 2015

Last Number on nth-row = n^2

Number of numbers between middle & last = n-1

middle number = (n^2)-(n-1)

n=100 ==> 10,000-99 = 9901

Let x be the row number. We notice that the end of each line = x 2 {x}^{2} . Because of the way the numbers are set up, you can logically make the equation x 2 ( x 1 ) {x}^{2}-(x-1) . For 100, this is 10,000-99 which is 9901.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...