The Present Pyramid

Algebra Level 2

Mr. Tumnas is replacing Santa Claus in 2014 and so he will be delivering box presents to the world! He wants to organize his presents by stacking them in a Present Pyramid. He starts with 10,000 presents on the bottom. On the next layer, he has 9,801 presents. On the next layer, he has 9,604, on the next layer he has 9409 presents, and on and on, so that he has 1 present at the top of the pyramid. In total, Mr. Tumnas has N presents in the pyramid where N is an integer. The greatest prime factor of N is Y. What is the value of Y?

Details and Assumptions: The Present Pyramid will not topple over; and after Mr. Tumnas completes the pyramid, there are no more presents left over.


The answer is 101.

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.

30 solutions

Michael Diao
Jan 7, 2014

By the sum of squares, we have the formula ( n ) ( n + 1 ) ( 2 n + 1 ) 6 \frac{(n)(n+1)(2n+1)}{6} for any integer n n where n n is the square root of the last number in the squaring sequence. Since 10000 \sqrt{10000} is equal to 10 10 , thus, by plugging 100 100 as n n , we quickly see that the largest prime factor of ( n ) ( n + 1 ) ( 2 n + 1 ) 6 \frac{(n)(n+1)(2n+1)}{6} is indeed n + 1 n+1 , which is equal to 101, a prime number. Our answer is 101 \boxed{101} .

Darn. I meant to write 100 100 as the square root of 10,000. :(

Michael Diao - 7 years, 5 months ago

Log in to reply

u can always edit it my friend!!!

Vaibhav Agarwal - 7 years, 3 months ago

I did the same !!

Utkarsh Yadav - 7 years, 3 months ago

Didn't know the formula...........

Rohit Nair - 7 years, 3 months ago

Log in to reply

Get Idea...

Archiet Dev - 7 years, 2 months ago
Vincent Huang
Jan 2, 2014

We see that 1 2 + 2 2 + . . . + 10 0 2 = 100 101 201 6 = 50 101 67 1^2+2^2+...+100^2 = \frac{100*101*201}{6} = 50*101*67 . Now the greatest prime factor of this number is obviously 101, so our answer is 101

I too did this...:) :)

Divya Sitani - 7 years, 5 months ago

that's what i did

g j - 7 years, 5 months ago

what mean by prime no

Mussawar Ahmad - 7 years, 4 months ago
Rohit Chalasani
Jan 9, 2014

The base of the present pyramid has 10,000 presents.

The second level has 9,801 i.e (10,000-199).

The Third level has 9,604 i.e (10,000-396)

The Third level has 9401 i.e (10,000-591).

199, 396, 591.. etc. can be found to be following the series 200 x x 2 200x - x^{2} where x is the level.

Thus for a level x, the number of presents is given by 10 , 000 ( 200 x x 2 ) 10,000-(200x-x^{2})

On the top most level, there is one present. thus, x 2 200 x + 10 , 000 = 1 x^{2}-200x+10,000 = 1

( x 99 ) ( x 101 ) = 0 (x-99)(x-101) = 0 .

Hence, the number of levels are either 99 or 101 .

Since, we've been asked to find the greatest prime factor of N, the number of levels can be taken as 101 Total No. of Levels = i = 1 101 ( x 2 200 x + 10 , 000 ) = \sum_{i=1}^{101} (x^{2}-200x+10,000)

We know that,

i + 1 n x = n ( n + 1 ) 2 \sum_{i+1}^n x = \frac {n(n+1)}{2}

And, i + 1 n 2 x = n ( n + 1 ) ( 2 n + 1 ) 6 \sum_{i+1}^{n^2} x = \frac {n(n+1)(2n+1)}{6}

i + 1 n 1 = n \sum_{i+1}^n 1 = n

Hence, Total Number of Levels = 101 102 203 6 200 101 102 2 + 101 10 , 000 = \frac{101*102*203}{6} - \frac{200*101*102}{2} + {101*10,000}

Thus 101 \boxed{101} is the greatest prime factor of N.

great

Deep Agarwal - 7 years, 4 months ago

thank you very much. :)

Prashant Batule - 7 years, 4 months ago

It doesn't make any sense... level should be 99 not 101. because in case of 101 there will be a level 100. in level 100 the total box would be zero. as deduction would be 200*100-100^2 = 10000..... its not possible

Suman Saha - 7 years, 3 months ago

There are total 100 levels starting from 0 to 99.

Sum (x= 0 to 99) = 200x - x^2 = 661650

So it should be deducted from 10000*100 =1000000

so, 1000000-661650=338350

the total number of boxes present is 338350

now finding the greatest prime factor of 338350, we get 101.

Suman Saha - 7 years, 3 months ago

Log in to reply

i almost got 338350 but could not get the prime factor.... thks for solution

piyush mattoo - 7 years, 2 months ago
Muhammad Shariq
Jan 7, 2014

We note that the number of presents in each row of the pyramid is a perfect square. The last row consists of 10 0 2 100^2 presents, the row above that has 9 9 2 99^2 presents, and all the way up to the first row which has 1 2 1^2 presents. Hence the total number of presents is is the sum all squares from 1 1 t o \ to 99 \ 99 which is evaluated to be:

N = n ( 2 n + 1 ) ( n + 1 ) 6 = 100 × 201 × 101 6 = 50 × 67 × 101 = 2 × 5 2 × 67 × 101 N=\frac{n(2n+1)(n+1)}{6}=\frac{100 \times 201 \times 101}{6}=50 \times 67 \times 101 = 2 \times 5^2 \times 67 \times101

From the above prime factorisation of N N we see that the largest prime factor is Y = 101 Y=\boxed{101} .

Sandeep Naidu
Jan 8, 2014

Total number of gifts are sum of squares of first 100 natural numbers. That sum = [N (N+1) (2N+1)]/6 where N = 100 Then sum = 2030100 When we factorize the sum the biggest prime factor we get is 101

Kenny Lau
Jan 3, 2014
  • N = n = 1 100 n 2 = 1 6 × 100 × 101 × 201 = 50 × 101 × 67 \displaystyle N=\sum_{n=1}^{100}n^2=\frac16\times100\times101\times201=50\times101\times67
  • \because 101 is a prime.
  • 101 \therefore \boxed{101}

(Proof of the formula of the summation will be submitted ON REQUEST)

can I see the proof please?

John Palmer - 7 years, 5 months ago

Log in to reply

I recommend proving by 1st mathematical induction, because n I + n\in I^{+}

Given that this statement = P ( n ) = P(n)

Main techniques for proving...

  • Prove that P ( 1 ) P(1) is true.
  • Prove that if P ( k ) P(k) is true, then P ( k + 1 ) P(k+1) is true.

Think of a domino. Firstly, check that the first domino falls. Then check that if any domino falls, the next one also falls.

Let P ( n ) : i = 1 n i 2 = n ( n + 1 ) ( 2 n + 1 ) 6 \Large P(n): \sum\limits_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6}

Check P ( 1 ) ; 1 2 = 1 × 2 × 3 6 = 1 \large P(1); 1^2 = \frac{1\times 2\times 3}{6} = 1 , true.

Check if P ( k ) P(k) is true, then P ( k + 1 ) P(k+1) is also true. (Start with from 1 to k+1 then split into ( k 2 ) \sum (k^2) and ( k + 1 ) 2 (k+1)^{2} )

i = 1 k + 1 i 2 = k ( k + 1 ) ( 2 k + 1 ) 6 + ( k + 1 ) 2 \Large \sum\limits_{i=1}^{k+1} i^2 = \frac{k(k+1)(2k+1)}{6} + (k+1)^{2}

= k ( k + 1 ) ( 2 k + 1 ) + 6 ( k + 1 ) 2 6 \Large = \frac{k(k+1)(2k+1)+6(k+1)^2}{6}

= ( k + 1 ) ( k ( 2 k + 1 ) + 6 ( k + 1 ) 6 \Large = \frac{(k+1)(k(2k+1)+6(k+1)}{6}

= ( k + 1 ) ( 2 k 2 + 7 k + 6 ) 6 \Large = \frac{(k+1)(2k^{2}+7k+6)}{6}

= ( k + 1 ) ( k + 2 ) ( 2 k + 3 ) 6 \Large = \frac{(k+1)(k+2)(2k+3)}{6}

= ( k + 1 ) ( ( k + 1 ) + 1 ) ( ( 2 ( k + 1 ) + 1 ) 6 \Large = \frac{(k+1)((k+1)+1)((2(k+1)+1)}{6}

You can see that when k k is true, k + 1 k+1 is also true (same form of the P ( k + 1 ) P(k+1) )

Therefore, P ( n ) P(n) is true for all n I + n \in I^{+} . Q . E . D Q.E.D

Samuraiwarm Tsunayoshi - 7 years, 5 months ago

Log in to reply

Oh, I see now! Thanks for the proof!!!

John Palmer - 7 years, 5 months ago

Log in to reply

@John Palmer I just can prove that this formula is true, but I don't know how to get these n, n+1, 2n+1, or stuffs. XD

Samuraiwarm Tsunayoshi - 7 years, 5 months ago
Ashish Singh
Jan 8, 2014

Piles of total gifts.. 100 Square, 99 Square, 98 Square..... 1 Square Total Gifts = 10000 + 9801 + 9604 + ....... + 1 = 338350

Factors of 338350 = 2 X 5 X 5 X 67 X 101

101 is largest prime factor !!

Hs N
Jan 8, 2014

There is a well-known formula for the sum of the first n n squares: 1 2 + 2 2 + + n 2 = n ( n + 1 ) ( 2 n + 1 ) 6 1^2+2^2+\ldots+n^2=\frac{n(n+1)(2n+1)}{6} . Using this and then using prime factorisations, we're left with 100 101 201 6 = ( 2 2 5 2 ) 101 ( 3 67 ) 2 3 = 2 5 2 67 101 \frac{100\cdot101\cdot201}{6} = \frac{(2^2\cdot5^2)\cdot101\cdot(3\cdot67)}{2\cdot3}=2\cdot5^2\cdot67\cdot101 . It is then clear that N = 101 N=101 .

We can see the sequence 10 0 2 + 9 9 2 + 9 8 2 + . . . + 1 2 100^{2} + 99^{2} + 98^{2} + ... + 1^{2}

We get n = 1 100 n 2 = 100 ( 100 + 1 ) ( 2 × 100 + 1 ) 6 \sum_{n=1}^{100} n^{2} = \frac{100(100+1)(2\times 100+1)}{6}

= 100 × 101 × 201 6 = 2 × 5 2 × 67 × 101 = \frac{100\times 101\times 201}{6} = 2\times 5^{2} \times 67\times 101

Therefore, Y = 101 Y = \boxed{101} .

Sohan Basak
Jan 8, 2014

We see the pattern, 10000-9801=199, 9801-9604=197 9604-9409=195 . . So, we can write the answer in the form

$$10000*101-\sum_{i=0}^{100}{(199-2i)(100-i)} $$

Note, 199-200=-1 but 100-100=0 and it wont influence the result.<br/> Simplifying,

$$10000*101-\sum_{i=0}^{100}{19900-399i+2i^2}$$

Then, <br/>

10000x101-[19900x101-(399x100x101)/2+(2x100x101x201)/6]<br/> and

<br/> 101[10000-19900+19950-6700]<br/>

<br> 101x3350<br/>

Since, 101 is already a prime number,<br/> we have to check 3350.<br/> <br/> 3350=3x5x5x67.<br/>

Therefore, 101 is Y which is the answer.<br/> And Mr. Tumnas had 338350 gifts but none reached my home :( :D

Unless you are from the future,I can't see why you would complain about not getting any present from Mr.Tumnas.

Rahul Saha - 7 years, 5 months ago

can you explain further how you came up with the first expression?

Jane Doe - 7 years, 5 months ago

hey sohan why opt for such a long explanation

g j - 7 years, 5 months ago
Shikhar Jaiswal
Feb 16, 2014

This is: 100^2+99^2+98^2+.....+2^2+1^2 Sum of this series is: 100 × 101 \times101 × 201 \times201 /6=100 × 101 \times101 × 67 \times67 hence,101 is the largest prime factor

Anand Raj
Feb 3, 2014

Square(1) + Square(2) + ................... Square(100)

= 1/6 x (100) x (100 +1) x (2x100 +1)

= 50x67x101

GPF = 101

Follow me

Saurabh Mallik
Jan 25, 2014

If we carefully study the question we find that all the numbers of gifts from bottom layer are in pattern of 10 0 2 100^{2} , 9 9 2 99^{2} , 9 8 2 98^{2} , ......, 1 2 1^{2}

If we add all the square numbers from 1 1 to 100 100 using formula we get the total no. of gifts.

N = 338350 N=338350 gifts

Rest, perform the prime factorization and the largest prime factor would be 101 101 .

Thus, the answer is 101 \boxed{101}

Naimish Khara
Jan 24, 2014

in each layer the no. of present is square of integer so total no of present is \sum_{i=1}^100 {i}^2 = 338350 and it is factorization is 2 * 5 * 5 * 67 * 101 thus, prime factor is '101'

Daksh Shami
Jan 22, 2014

Very simple. The number of presents in each layer is the square of the number of that layer from bottom. The last layer has 10000 presents which is a square. Next layer has presents which is a square of 99 and so on. So the total number of presents would be a multiple of the number of layers. The number of layers are 101(layers FROM 1st layer TO 100th layer). 101 is a prime number, so its greatest prime number is 101.

Akash Gupta
Jan 22, 2014

FIRST OF ALL,WE CAN OBSERVE THE SERIES THAT IS 10,000;9801;9604 WHICH IS THE SERIES OF SQUARES 100,99,97 AND SO ON.NOW WE FIND THE SUM BY THE FORMULA=n(n+1)(2n+1)/6.then we find this exp. equals to 50X101X67.HERE THE LARGEST PRIME FACTOR IS 101.

Apoorva Jadon
Jan 21, 2014

this pyramid is arranged in the form of first 10000 (100^2) presents then 9801(99^2) presents and so on ... this will give the series 100^2 +99^2+ 98^2+..................+1 the formula for this series is..[ n (n+1) (2n+1)]/6 here puting n=100 we get total presents as (100 101 201)/6 =>50 101 67 clearly the highest prime factor from above is 101 thus Y=101

Kalyan Pakala
Jan 20, 2014

The boxes descend from 100 to 99 to 98 to.....1. Total boxes are 5050 (I remembered Gauss when I saw this pattern :) ). The largest prime factor is obviously 101.

oops, needs a lil' correction...total boxes are 5050x67...I solved it by mental calculation though! ps: When logic gets really good, it borders on intuition!

kalyan pakala - 7 years, 4 months ago
Dhruv1008 Agarwal
Jan 17, 2014

the series can be written as 100^2 +99^2+98^2.............1^2. this is the sum of all natural numbers upto 100 therefore applying formula sum=100(100+1)(200+1)/6 it comes out to be 338350 finding highest prime factor 338350 = 2 x 5 x 5 x 67 x 101 i.e. 101

thank you very much.

Prashant Batule - 7 years, 4 months ago
Prabal Gandhi
Jan 14, 2014

1^2+2^2+...........99^2+100^2=N=n(n+1)(2n+1)/6 where n=100 THEREFORE N=50 101 67
by this we can see that greatest prime here is 101

Md. Helal Uddin
Jan 13, 2014

Just look at it. It is a arithmetic series 1^2 + 2^2 + 3^2 + ... + 100^2 = ? I have just computed the sum by using the following equation n (n+1) (2n+1)/6 And finally have computed the greatest prime factor of sum which is 101.

The greatest trick which is kinda hard to notice here is that the sequence in which Mr. Tumnas has arranged the presents is in the sequence of squares of natural numbers i.e 10 0 2 100^{2} , 9 9 2 99^{2} , 9 8 2 98^{2} and so on and so forth.

Hence the total number of presents *N = 10 0 2 + 9 9 2 + 9 8 2 . . . . . + 2 2 + 1 2 100^{2} + 99^{2}+98^{2}.....+2^{2}+1^{2} *

This sum can also be expressed in the form *N = n ( n + 1 ) ( 2 n + 1 ) 6 \frac{n(n+1)(2n+1)}{6} *

[Note : The above sum can be proved by Induction]

Since we have n = 100 , plugging in the values we get :

*N = 100 ( 101 ) ( 201 ) 6 = 338350 \frac{100(101)(201)}{6} = 338350 *

Factorizing this, we get :

338350 = 5 67670 = 5 67 1010 = 5 67 101 10 = 5 67 101 5 2 338350 = 5*67670 = 5*67*1010 = 5*67*101*10 = 5*67*101*5*2

And finally we get to the value of Y = 101

Mrugesh Joshi
Jan 11, 2014

N=(1)^2 + (2)^2 +...+(100)^2

N=(100)(101)(201)/6=(50)(101)(67)

So, Y=101

Punarva Katte
Jan 10, 2014

Observe that 10,000=100^2, 9801=99^2, 9604=98^2 ... 1=1^2. So, an 'x'th level (from top) will have 'x^2' number of boxes.

Hence N=sum(x^2) for x=[1,100].

Wkt, sum of squares of first n numbers is n(n+1)(2n+1)/6 Hence N = 100 * 101 * 201 / 6 = 50 * 101 * 67 = 2 * 5 * 5 * 67 * 101

Clearly, the greatest prime factor is '101', which is the answer of this question.

Vineet Singla
Jan 10, 2014

nth layer has (n^2 -202n + 10201) presents. Thus, on equating it to 1 to find the last layer, we get n=100 or 102. But for n=101, presents are zero. Thus, n can not be greater or equal to 101. Thus, n=100. Now, on simple adding, we get total as (50 * 101 * 67) presents and we can say, 101 is the greatest prime factor.

Rui-Xian Siew
Jan 10, 2014

Notice that 10000= 10 0 2 100^{2} , 9801= 9 9 2 99^{2} , 9604= 9 8 2 98^{2} , ...... , 1= 1 2 1^{2} , so we knew there are 100 terms in total.

Those terms sum up to be
\sum n 2 n^{2} = n ( n 1 ) ( 2 n 1 ) 6 \frac{n(n-1)(2n-1)}{6} = 100 ( 101 ) ( 201 ) 6 \frac{100(101)(201)}{6} =2. 5 2 5^{2} .101.67

Obviously the greatest prime factor is 101 \boxed{101}

That is equal to 1 2 + 2 2 + + 10 0 2 1^{2} + 2^{2} + \ldots + 100^{2} .

Applying that

i = 1 n i 2 = ( n ) ( n + 1 ) ( 2 n + 1 ) 6 \displaystyle \sum_{i=1}^{n} i^{2} = \frac {(n)(n+1)(2n+1)}{6}

Then the answer is

i = 1 100 i 2 = ( 100 ) ( 101 ) ( 201 ) 6 = 2 5 5 67 101 \displaystyle \sum_{i=1}^{100} i^{2} = \frac {(100)(101)(201)}{6} = 2\cdot5\cdot5\cdot67\cdot101

And the greatest prime here is 101 \boxed {101} .

Rakha Kautsar
Jan 7, 2014

We know that 10000 10000 is 10 0 2 100^2 and 9801 9801 is 9 9 2 99^2 , this pattern continue until it reach 1 1 which is 1 2 1^2 , so the problem wants us to count the sum of all quadratic number from 1 1 until 100 100 . The easy way to sum it is using the well-known formula 1 2 + 2 2 + 3 2 + . . . + n 2 = 1 6 × n ( n + 1 ) ( 2 n + 1 ) 1^2 + 2^2 + 3^2 + ... + n^2 = \frac{1}{6} \times n (n+1) (2n+1) hence the answer is 1 6 × 100 × 101 × 201 = 338350 \frac{1}{6} \times 100 \times 101 \times 201 = 338350 . The prime factorization of 338350 338350 is 101 × 67 × 2 × 5 2 101 \times 67 \times 2 \times 5^2 so the greatest prime factor Y is 101 \boxed{101}

Ivan Sekovanić
Jan 7, 2014

First of all, let us notice that the number of presents on each layer represents the number of the given layer squared (if n n is the corresponding layer number then the number of presents on that layer is n 2 n^{2} ). This is of course done counting from the top of the pyramid, seeing that the first layer has the most presents.

Therefore, the total number of presents is the sum of the first n n squares, which can be written as n ( n + 1 ) ( 2 n + 1 ) 6 \frac{n(n+1)(2n+1)}{6} , where n n is the total number of layers. Considering that the first layer (that we will consider to be the "last" for easier manipulation) has 10000 10000 presents, which is actually 10 0 2 100^{2} , we may conclude that the pyramid has 100 100 layers.

Now, all we need is to calculate the sum i = 1 100 i 2 \sum_{i=1}^{100} i^{2} , which is actually

100 101 201 6 = 50 101 67 = 2 5 2 67 101 \frac{100\cdot101\cdot201}{6}=50\cdot101\cdot67=2\cdot5^{2}\cdot67\cdot101

Therefore, we find that N = 2 5 2 67 101 N=2\cdot5^{2}\cdot67\cdot101 , meaning that Y = 101 \boxed{Y=101}

Note: The above given formula can be easily proved with induction if necessary. The general form of it would be

1 2 + 2 2 + 3 2 + . . . + n 2 = n ( n + 1 ) ( 2 n + 1 ) 6 1^{2}+2^{2}+3^{2}+ . . . +n^{2}=\frac{n(n+1)(2n+1)}{6} .

I did not feel the need to do that since I consider it to be quite well known.

There are 10 0 2 100^2 presents on the bottom row, 9 9 2 99^2 presents on the second bottom row, all the way up to 1 2 1^2 presents on the top row. The total number of presents therefore is: n = 1 100 n 2 = 1 6 n ( n + 1 ) ( 2 n + 1 ) = 1 6 × 100 × ( 100 + 1 ) ( 2 × 100 + 1 ) = 338350 \sum_{n=1}^{100}{n^2}=\frac{1}{6}n(n+1)(2n+1)=\frac{1}{6}\times 100\times (100 + 1)(2\times 100+1)=338350

Prime factorization: 338350 = 2 × 5 2 × 67 × 101 338350 = 2\times 5^2\times 67\times 101

Greatest prime factor, Y Y , therefore is 101 \boxed{101}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...