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.
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.
Darn. I meant to write 1 0 0 as the square root of 10,000. :(
I did the same !!
Didn't know the formula...........
We see that 1 2 + 2 2 + . . . + 1 0 0 2 = 6 1 0 0 ∗ 1 0 1 ∗ 2 0 1 = 5 0 ∗ 1 0 1 ∗ 6 7 . Now the greatest prime factor of this number is obviously 101, so our answer is 101
I too did this...:) :)
that's what i did
what mean by prime no
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 2 0 0 x − x 2 where x is the level.
Thus for a level x, the number of presents is given by 1 0 , 0 0 0 − ( 2 0 0 x − x 2 )
On the top most level, there is one present. thus, x 2 − 2 0 0 x + 1 0 , 0 0 0 = 1
( x − 9 9 ) ( x − 1 0 1 ) = 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 1 0 1 ( x 2 − 2 0 0 x + 1 0 , 0 0 0 )
We know that,
∑ i + 1 n x = 2 n ( n + 1 )
And, ∑ i + 1 n 2 x = 6 n ( n + 1 ) ( 2 n + 1 )
∑ i + 1 n 1 = n
Hence, Total Number of Levels = 6 1 0 1 ∗ 1 0 2 ∗ 2 0 3 − 2 2 0 0 ∗ 1 0 1 ∗ 1 0 2 + 1 0 1 ∗ 1 0 , 0 0 0
Thus 1 0 1 is the greatest prime factor of N.
great
thank you very much. :)
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
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.
Log in to reply
i almost got 338350 but could not get the prime factor.... thks for solution
We note that the number of presents in each row of the pyramid is a perfect square. The last row consists of 1 0 0 2 presents, the row above that has 9 9 2 presents, and all the way up to the first row which has 1 2 presents. Hence the total number of presents is is the sum all squares from 1 t o 9 9 which is evaluated to be:
N = 6 n ( 2 n + 1 ) ( n + 1 ) = 6 1 0 0 × 2 0 1 × 1 0 1 = 5 0 × 6 7 × 1 0 1 = 2 × 5 2 × 6 7 × 1 0 1
From the above prime factorisation of N we see that the largest prime factor is Y = 1 0 1 .
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
(Proof of the formula of the summation will be submitted ON REQUEST)
can I see the proof please?
Log in to reply
I recommend proving by 1st mathematical induction, because n ∈ I +
Given that this statement = P ( n )
Main techniques for proving...
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 = 6 n ( n + 1 ) ( 2 n + 1 )
Check P ( 1 ) ; 1 2 = 6 1 × 2 × 3 = 1 , true.
Check if P ( k ) is true, then P ( k + 1 ) is also true. (Start with from 1 to k+1 then split into ∑ ( k 2 ) and ( k + 1 ) 2 )
i = 1 ∑ k + 1 i 2 = 6 k ( k + 1 ) ( 2 k + 1 ) + ( k + 1 ) 2
= 6 k ( k + 1 ) ( 2 k + 1 ) + 6 ( k + 1 ) 2
= 6 ( k + 1 ) ( k ( 2 k + 1 ) + 6 ( k + 1 )
= 6 ( k + 1 ) ( 2 k 2 + 7 k + 6 )
= 6 ( k + 1 ) ( k + 2 ) ( 2 k + 3 )
= 6 ( k + 1 ) ( ( k + 1 ) + 1 ) ( ( 2 ( k + 1 ) + 1 )
You can see that when k is true, k + 1 is also true (same form of the P ( k + 1 ) )
Therefore, P ( n ) is true for all n ∈ I + . Q . E . D
Log in to reply
Oh, I see now! Thanks for the proof!!!
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
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 !!
There is a well-known formula for the sum of the first n squares: 1 2 + 2 2 + … + n 2 = 6 n ( n + 1 ) ( 2 n + 1 ) . Using this and then using prime factorisations, we're left with 6 1 0 0 ⋅ 1 0 1 ⋅ 2 0 1 = 2 ⋅ 3 ( 2 2 ⋅ 5 2 ) ⋅ 1 0 1 ⋅ ( 3 ⋅ 6 7 ) = 2 ⋅ 5 2 ⋅ 6 7 ⋅ 1 0 1 . It is then clear that N = 1 0 1 .
We can see the sequence 1 0 0 2 + 9 9 2 + 9 8 2 + . . . + 1 2
We get ∑ n = 1 1 0 0 n 2 = 6 1 0 0 ( 1 0 0 + 1 ) ( 2 × 1 0 0 + 1 )
= 6 1 0 0 × 1 0 1 × 2 0 1 = 2 × 5 2 × 6 7 × 1 0 1
Therefore, Y = 1 0 1 .
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.
can you explain further how you came up with the first expression?
hey sohan why opt for such a long explanation
This is: 100^2+99^2+98^2+.....+2^2+1^2 Sum of this series is: 100 × 1 0 1 × 2 0 1 /6=100 × 1 0 1 × 6 7 hence,101 is the largest prime factor
Square(1) + Square(2) + ................... Square(100)
= 1/6 x (100) x (100 +1) x (2x100 +1)
= 50x67x101
GPF = 101
Follow me
If we carefully study the question we find that all the numbers of gifts from bottom layer are in pattern of 1 0 0 2 , 9 9 2 , 9 8 2 , ......, 1 2
If we add all the square numbers from 1 to 1 0 0 using formula we get the total no. of gifts.
N = 3 3 8 3 5 0 gifts
Rest, perform the prime factorization and the largest prime factor would be 1 0 1 .
Thus, the answer is 1 0 1
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'
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.
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.
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
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!
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.
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
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 1 0 0 2 , 9 9 2 , 9 8 2 and so on and so forth.
Hence the total number of presents *N = 1 0 0 2 + 9 9 2 + 9 8 2 . . . . . + 2 2 + 1 2 *
This sum can also be expressed in the form *N = 6 n ( n + 1 ) ( 2 n + 1 ) *
[Note : The above sum can be proved by Induction]
Since we have n = 100 , plugging in the values we get :
*N = 6 1 0 0 ( 1 0 1 ) ( 2 0 1 ) = 3 3 8 3 5 0 *
Factorizing this, we get :
3 3 8 3 5 0 = 5 ∗ 6 7 6 7 0 = 5 ∗ 6 7 ∗ 1 0 1 0 = 5 ∗ 6 7 ∗ 1 0 1 ∗ 1 0 = 5 ∗ 6 7 ∗ 1 0 1 ∗ 5 ∗ 2
And finally we get to the value of Y = 101
N=(1)^2 + (2)^2 +...+(100)^2
N=(100)(101)(201)/6=(50)(101)(67)
So, Y=101
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.
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.
Notice that 10000= 1 0 0 2 , 9801= 9 9 2 , 9604= 9 8 2 , ...... , 1= 1 2 , so we knew there are 100 terms in total.
Those terms sum up to be
∑
n
2
=
6
n
(
n
−
1
)
(
2
n
−
1
)
=
6
1
0
0
(
1
0
1
)
(
2
0
1
)
=2.
5
2
.101.67
Obviously the greatest prime factor is 1 0 1
That is equal to 1 2 + 2 2 + … + 1 0 0 2 .
Applying that
i = 1 ∑ n i 2 = 6 ( n ) ( n + 1 ) ( 2 n + 1 )
Then the answer is
i = 1 ∑ 1 0 0 i 2 = 6 ( 1 0 0 ) ( 1 0 1 ) ( 2 0 1 ) = 2 ⋅ 5 ⋅ 5 ⋅ 6 7 ⋅ 1 0 1
And the greatest prime here is 1 0 1 .
We know that 1 0 0 0 0 is 1 0 0 2 and 9 8 0 1 is 9 9 2 , this pattern continue until it reach 1 which is 1 2 , so the problem wants us to count the sum of all quadratic number from 1 until 1 0 0 . The easy way to sum it is using the well-known formula 1 2 + 2 2 + 3 2 + . . . + n 2 = 6 1 × n ( n + 1 ) ( 2 n + 1 ) hence the answer is 6 1 × 1 0 0 × 1 0 1 × 2 0 1 = 3 3 8 3 5 0 . The prime factorization of 3 3 8 3 5 0 is 1 0 1 × 6 7 × 2 × 5 2 so the greatest prime factor Y is 1 0 1
First of all, let us notice that the number of presents on each layer represents the number of the given layer squared (if n is the corresponding layer number then the number of presents on that layer is 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 squares, which can be written as 6 n ( n + 1 ) ( 2 n + 1 ) , where n is the total number of layers. Considering that the first layer (that we will consider to be the "last" for easier manipulation) has 1 0 0 0 0 presents, which is actually 1 0 0 2 , we may conclude that the pyramid has 1 0 0 layers.
Now, all we need is to calculate the sum ∑ i = 1 1 0 0 i 2 , which is actually
6 1 0 0 ⋅ 1 0 1 ⋅ 2 0 1 = 5 0 ⋅ 1 0 1 ⋅ 6 7 = 2 ⋅ 5 2 ⋅ 6 7 ⋅ 1 0 1
Therefore, we find that N = 2 ⋅ 5 2 ⋅ 6 7 ⋅ 1 0 1 , meaning that Y = 1 0 1
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 = 6 n ( n + 1 ) ( 2 n + 1 ) .
I did not feel the need to do that since I consider it to be quite well known.
There are 1 0 0 2 presents on the bottom row, 9 9 2 presents on the second bottom row, all the way up to 1 2 presents on the top row. The total number of presents therefore is: ∑ n = 1 1 0 0 n 2 = 6 1 n ( n + 1 ) ( 2 n + 1 ) = 6 1 × 1 0 0 × ( 1 0 0 + 1 ) ( 2 × 1 0 0 + 1 ) = 3 3 8 3 5 0
Prime factorization: 3 3 8 3 5 0 = 2 × 5 2 × 6 7 × 1 0 1
Greatest prime factor, Y , therefore is 1 0 1
Problem Loading...
Note Loading...
Set Loading...
By the sum of squares, we have the formula 6 ( n ) ( n + 1 ) ( 2 n + 1 ) for any integer n where n is the square root of the last number in the squaring sequence. Since 1 0 0 0 0 is equal to 1 0 , thus, by plugging 1 0 0 as n , we quickly see that the largest prime factor of 6 ( n ) ( n + 1 ) ( 2 n + 1 ) is indeed n + 1 , which is equal to 101, a prime number. Our answer is 1 0 1 .