An oddly simple question (If you think about it)

How many perfect squares are there between 5184 and 7569 inclusive ?

(Hint: How many perfect squares are there between 0 and 16?)


The answer is 16.

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

5184 = 7 2 2 5184 = 72^2 and 7569 = 8 7 2 7569 = 87^2 . Since all the perfect squares of the numbers 72 to 87 inclusive are between 5184 and 7569, there are 87 72 + 1 = 16 87-72+1 = 16 possible perfect squares.

Just corrected it lol

Deep state of denial Burgert - 1 year, 10 months ago

Sorry about this, my first time making a problem

Deep state of denial Burgert - 1 year, 10 months ago

@Deep state of denial Burgert it’s ok.

steward zimmerman - 1 year, 10 months ago

A good technique to solve a problem like this is to consider a simpler case and move forward from that.

How many numbers are between 1 1 and 5 5 inclusive? Well, obviously there are 5 numbers. What about 3 3 and 6 6 inclusive? Well this is just 6 3 + 1 = 4 6 - 3 + 1 = 4 . We can easily prove that between numbers A A and B B if B > A B > A , there are B A + 1 B - A + 1 numbers between them if you count the numbers defining the interval themself. Another way to look at it is that there is a function f ( n ) = n f(n) = n that tells us how many numbers are between 1 1 and n n inclusive.

So we can say that (the amount of numbers between A and B is the amount of numbers between 1 and B) - (the amount of numbers between 1 and A) + 1 (because we are subtracting A as well so we need to add 1) ) => f ( B ) f ( A 1 ) = > B ( A ) + 1 = B A + 1 f(B) - f(A - 1) => B - (A) + 1 = B - A + 1 .

So what if there is a similar function that tells us the amount of perfect squares between 1 and N, then we can apply the same logic. It turns out that N \sqrt{N} tells us how many perfect squares there are between 1 and N. Try it for yourself!

So using the same reasoning from above, the amount of perfect squares between A and B = g(B) - g(A - 1) =>) # of perfect squares from 1 to B - # of perfect squares from 1 to A - 1 = > B A + 1 => \sqrt{B} - \sqrt{A} + 1 .

Therefore, the amount of perfect squares between 5184 and 7569 inclusive is 7569 5184 + 1 = 87 72 + 1 = 16 \sqrt{7569} - \sqrt{5184} + 1\ = 87 - 72 + 1 = 16 .

...And this is how you overcomplicate simple arithmetic :D

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...