How many perfect squares are there between 5184 and 7569 inclusive ?
(Hint: How many perfect squares are there between 0 and 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.
Just corrected it lol
Sorry about this, my first time making a problem
@Deep state of denial Burgert it’s ok.
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 and 5 inclusive? Well, obviously there are 5 numbers. What about 3 and 6 inclusive? Well this is just 6 − 3 + 1 = 4 . We can easily prove that between numbers A and B if B > A , there are 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 that tells us how many numbers are between 1 and 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 .
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 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 .
Therefore, the amount of perfect squares between 5184 and 7569 inclusive is 7 5 6 9 − 5 1 8 4 + 1 = 8 7 − 7 2 + 1 = 1 6 .
...And this is how you overcomplicate simple arithmetic :D
Problem Loading...
Note Loading...
Set Loading...
5 1 8 4 = 7 2 2 and 7 5 6 9 = 8 7 2 . Since all the perfect squares of the numbers 72 to 87 inclusive are between 5184 and 7569, there are 8 7 − 7 2 + 1 = 1 6 possible perfect squares.