Below is a multiplication table up to y × y . Find y such that the sum of all the products in the blue square equals 90000.
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.
What is all this the correct answer is actually 24 Pls correct your answer
Log in to reply
Yeah, I think someone changed the numbers in the question. I've fixed the solution.
if thats the right answer then why doesn't the formula (N * (N + 1) * (2N + 1)) / 6 working i.e., the sum of n² natural numbers
Log in to reply
( 1 + 2 + 3 + ⋯ + n ) 2 = 1 2 + 2 2 + 3 2 + ⋯ + n 2 is not always true.
I don't think that would be useful, because we would only get the sum of the perfect squares, not the total sum..
The quadratic y^2 + y - 600 factors to (y-24)(y+25). Using the quadratic formula isn't necessary.
I arrived at y(y+1)=600 just like most solutions here.
Then, recognizing y and y +1 must be consecutive integers, I found it more fun to find the prime factorization of 600, then look for groups of factors that produce consecutive numbers. It was trivially easy:
600 = 2•2•2•3•5•5 = 24•25
So y=24
Sure, we can complete the square or use the quadratic formula—but where’s the fun in that?
Where is the blue square?
Log in to reply
It's shown in the image. It contains y × y = y 2 = 2 4 2 = 5 7 6 not necessarily distinct positive integers.
I used this very same method .
I don’t understand how this problem works, what type of background do I need to understand this problem?
How do you conclude that 1+2+3+4+...+y =((y+1)y)/2 ???
Relevant wiki: Sum of n, n², or n³
9 0 0 0 0 = a = 1 ∑ y b = 1 ∑ y a b = ( a = 1 ∑ y a ) ( b = 1 ∑ y b ) = ( 2 y ( y + 1 ) ) 2 . 2 y ( y + 1 ) = 3 0 0 . "Completing the square" serves well here: y ( y + 1 ) = y 2 + y = ( y + 2 1 ) 2 − 4 1 . ( y + 2 1 ) 2 = 6 0 0 4 1 = ( 2 4 2 1 ) 2 . y = 2 4 .
Arjen, you are correct
it may confuse some to show 600+1/4 as 600 1/4. your method and answer are correct but instead of solving y(y+1)=600 by completing the square i preferred to find y by trying different integers to find y=24.
Log in to reply
I just took the floor of sqrt(600), because it must lie between y and y+1
Log in to reply
That works... Only, to know for certain that this is actually a solution, you'll have to check that, after all, 24 x 25 = 600 indeed.
Yeah That's what I did
Relevant wiki: Sum of n, n², or n³
The sum of product in the first line is 1 + 2 + 3 + . . . + y = 2 y ( y + 1 ) The sum of product in the k -th line is k + 2 k + 3 k + . . . + k y = k 2 y ( y + 1 ) The sum of product of all lines is k = 0 ∑ y k + 2 k + 3 k + . . . + k y = k = 0 ∑ y k 2 y ( y + 1 ) = ( 2 y ( y + 1 ) ) 2 ⇒ ( 2 y ( y + 1 ) ) 2 = 9 0 0 0 0 ⇒ y 2 + y − 2 9 0 0 0 0 = 0 ⇒ y = 2 − 1 + 1 + 8 9 0 0 0 0 = 2 4
Wrong answer dude pls check it and correct it. It actually is 24
Log in to reply
Yeah, I think someone changed the numbers in the question. I've fixed the solution.
Log in to reply
Yes, the number was changed by brilliant staff.
Thats the identity i used. Great work
Let N = 1/2 n (n +1). Then we have N^2 = 90000 or since we know this is a positive, N = 300, or n (n + 1) = 600. Then a quick check shows 24 * 25 = 600 so 24 is the answer.
How do you get to the first equation of y(y+1)/2 ?
∑ n = 1 y n 3 . When that value is equal to 90,000, the y value is 24. Hence the answer: 24
Notice how the different colors for the values inside the box always sum to the cube of their multiplier (on the outside of the blue box). That means that the sum of the values inside the blue box unto a certain value y can be represented asYou can write the sum of products in a really nice manner: S = ( 1 ⋅ 1 + 1 ⋅ 2 + ⋯ + 1 ⋅ y ) + ( 2 ⋅ 1 + 2 ⋅ 2 + ⋯ + 2 ⋅ y ) + ⋯ + ( y ⋅ 1 + y ⋅ 2 + ⋯ + y ⋅ y ) Bringing the common factors to the front: S = 1 ( 1 + 2 + ⋯ + y ) + 2 ( 1 + 2 + ⋯ + y ) + ⋯ + y ( 1 + 2 + ⋯ + y ) S = ( 1 + 2 + ⋯ + y ) ( 1 + 2 + ⋯ + y ) = ( 1 + 2 + ⋯ + y ) 2 = ( 2 y ( y + 1 ) ) 2 But we know that S = 4 4 4 8 8 9 0 0 and that y should be positive, so 2 y ( y + 1 ) = 9 0 0 0 0 = 3 0 0 . Therefore: 1 y 2 + 1 y − 6 0 0 = 0 And all that we need to do it solve the quadratic equation and choose the positive value of y : y 1 2 = 2 − 1 ± 1 + 4 ⋅ 6 0 0 = 2 − 1 ± 4 9 Hence, y ∈ { − 2 5 , 2 4 } , but y > 0 , so the intended solution is 24 .
Simply, each side is ( 1 + 2 + 3 + . . . + y ) so that the area is ( 1 + 2 + 3 + . . . + y ) 2 . We set this area equal to 90000. Thus, ( 1 + 2 + 3 + . . . + y ) is 9 0 0 0 0 = 3 0 0 . Then, ( y + 1 ) 2 y = 3 0 0 . We multiply the terms on the left side, multiply both sides by 2 , and subtract 6 0 0 from both sides to get y 2 + y - 6 0 0 = 0 . Factoring, we get ( y + 2 5 ) ( y − 2 4 ) and take the positive value 24 .
(1+2+…+y)
(1+2+…+y)=90000.
1+2+…+y=sqrt(90000)
1+2+…+y=300.
(1+y)
y/2=300
(1+y)*y=600
y+y^2=600
y=24 or -25
What about a programming solution!
1 2 3 4 5 6 7 8 9 10 11 |
|
Which provides the answer: 2 4
Using math is much better to solve this problem.
Log in to reply
Well, programming is math in a way, but yeah I agree with you. Just wanted to post something different, as long as everyone had already solved this mathematically.
Each row or column is an AP
For x t h row
a = x , l = x y and n = y where a is first term, l is last term, n is number of terms
so sum of x t h row is
2 y ( x + x y )
= 2 x y ( y + 1 )
and x goes from 1 to y
so total sum is
∑ x = 1 y 2 x y ( y + 1 )
= 2 y ( y + 1 ) ∑ x = 1 y x
= 2 y ( y + 1 ) 2 y ( y + 1 )
= 4 y 2 ( y + 1 ) 2
When sum is 90000
4 y 2 ( y + 1 ) 2 = 9 0 0 0 0 y ( y + 1 ) = 6 0 0
y = 2 4
You have made this problem ludicrously complicated. Either that or something has been lost in the translation of you question. The sum of all the products in the blue square is:- 1+2+y+2+4+2y+y+2y+ysquared = 9 + 6y + ysquared 90000 = 9 + 6y + ysquared Thus y = 297 90000 = 9 + (6 x 297) + (297 x 297) 9 + 1782 + 88209 = 90000 QED Brush up on your English!!!
Log in to reply
You should be more kind. We’re all here to learn by trying our hand at novel problems. There are more ways than one to solve every problem, and novel approaches (even if cumbersome) can generate new insights.
Sundeep’s approach works wonderfully: the sum of rows, each containing n times the sum of consecutive integers. It seems clear enough to me, and though I do have an Ivy-league Phd, I’d like to believe that wasn’t a requirement to understand it.
Nothing to worry just add up the vertical columns one by one and u will get the sum of first y natural numbers. Then add them all up , solve a small quadratic i.e. y^2+y-600=0 then gives u y as 24
First I tried 2 random numbers Which of course didn't work After that I decide to try solving it wich was very funny so thank you for posting it I used the Sequences (not sure about the name) And the sum was like ((1+y)y/2)^2 Then trying to solving the equation ((1+y)y/2)^2=90000 (1+y)y-600=0 And the result will be y=24
Formula for sum of products in the square from number 1 to y is (n(n+1)/2)^2 e.g 1,9,36,100 So, 90000=(y(y+1)/2)^2 y(y+1)/2=300 y^2+y=600 y^2+y-600=0 (quadratic equation) Apply quadratic formula to solve for y. -(1)+sqrt 1^2-4(1)(-600)/2=24 Answer :24
I started out thinking 90000 is such a round number, so I thought maybe there is a pattern to the boxes as they get bigger. I started with 2x2 box which adds up to 9. 3x3 adds up to 36. 4x4 adds up to 100 !!!! Hang on this is a round number and they all happen to be squares. I did 6x6 which ends up being 441 which is 21^2. So the pattern of squares looks like.
1^2, 3^2, 6^2, 10^2, 15^2, 21^2... 1,3,6,10,15,21... are is the sequence of factorials 1!, 2!, 3!, 4!,5!, 6!...y!
thus (y!)^2=90000, y!=300 (square-root both sides)
(y/2)(y+1)=300 , y^2+y-600=0 (simplfied), (y-24)(y+25)=0
y equals 24 as -25 is not a possible blue box size.
Suppose £ means sigma Suppose we take 1 from the left column, we have to multiply it with every other number in the first row and add them. So it becomes 1(1+2+3+.......+y) = 1 £y Similarly taking 2 and multiplying it with every other number as adding, 2(1+2+3+....+y) =2 £y We have to do this for all numbers up till y. So end expression will be 1 £y + 2 £y + 3 £y +.......+y £y =£y(1+2+3+.......+y) =(£y)^2=90000 So £y=300 (y(y+1))/2=300 y(y+1)=600 Positive root is y=24
If you look at the pattern of 1^2, 2^2, 3^2, ... it turns out to be 1, 9, 36, 100. This pattern is (0+1)^2 = 1, (1+2)^2 = 9, (3+3)^2 = 36, (6+4)^2 = 100. The pattern is such that (x+y)^2 where x = the previous x+y, and y = the previous y +1. x follows this pattern: 0,1,3,6,10... and y follow this pattern: 1,2,3,4,5...
C++ solution
Int main()
{
Int a=1;
Int b=1;
Int c=1;
Int d=1;
Int w=0;
Int x=0;
Int z=0;
Int y;
Cin>>y;
While (b<y) { x=a+x;
a=a+1; b=b+1;}
While (c<y) { w=x*d; z=w+z;
d=d+1; c=c+1; }
Cout<<“num “<<z;
Return 0;
}
Then you insert 1 number higher than the number you are looking for, on this case, you insert 25 and here is your result, 24!
You can do this with any number :)
I just thought about it and ran a bit of code. My math reasoning is lacking :-)
1 2 3 4 5 6 7 |
|
the online tool i used just printed sum in the end - hence no statement
1 2 3 4 5 6 7 8 9 10 11 |
|
1 2 3 4 5 6 7 8 |
|
Lazy person's brute force method.
Using this handsome lil' snippet of code I can easily make a multiplication table of any given size, and calculate the sum all of the numbers in it:
1 2 3 4 5 6 7 |
|
1 2 3 4 5 6 7 8 9 10 11 |
|
So, all I need to do is turn my code into a loop that iterates through increasing values of y until I encounter a tableSum that's equal to (or bigger than) 90 000.
Oh, and since the table sum is the only important part, I'm not gonna keep showing the whole table every iteration. Okay, here's the loop version:
1 2 3 4 5 6 7 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|
Q . E . D .
Sum of y terms squared. Rearrange into a quadratic equation and then solve.
It's not elegant, but it works for me
Accumulate@Range[30]^2
this Mathematica code gives us the first 30 sums
{1,9,36,100,225,441,784,1296,2025,3025,4356,6084,8281,11025,14400,18496,23409,29241,36100,44100,53361,64009,76176,**90000**,105625,123201,142884,164836,189225,216225}
90000 is 24th on this list
Problem Loading...
Note Loading...
Set Loading...
Relevant wiki: Sum of n, n², or n³
I will provide a geometric representation of the times table:
In the image above, the area of each rectangle represents a product. The red squares are the perfect squares. Notice that in this grid we have a big square with side length measuring ( 1 + 2 + 3 + 4 + . . . + y ) .
The sum of the area of all rectangles (including the squares) will be the sum of all products in the times table. In this problem the sum is 4 4 4 8 8 9 0 0 .
Hence, ( 1 + 2 + 3 + 4 + . . . + y ) 2 = 9 0 0 0 0 ⇒ ( 1 + 2 + 3 + 4 + . . . + y ) = 3 0 0
Solving for y :
1 + 2 + 3 + 4 + . . . + y = 2 ( y + 1 ) y = 3 0 0
y 2 + y − 6 0 0 = 0
y = 2 ⋅ 1 − 1 ± 1 2 − 4 ⋅ 1 ⋅ ( − 6 0 0 ) = 2 − 1 ± 2 4 0 1 = 2 − 1 ± 4 9
We only care for the positive solution for the equation which is y = 2 4
Then the answer for this problem is 2 4 .