2023 IOQM/Problem 1
Problem
Let be a positive integer such that . Let be the number of integers in the set
. Let , and .
Find .
Solution 1 (Spacing of squares)
If for any integer , if is an integer this means is a perfect square. Now the problem reduces to finding the difference between maximum and minimum no. of perfect squares in the numbers: There are 1000 numbers here.
The idea is that for the same range of numbers, the no. of perfect squares becomes rarer when the numbers become larger.
For example, there are 3 perfect squares between 1 and 10 but none between 50 and 60.
Of course we will prove this,
Claim: The distance between 2 consecutive perfect squares gets larger as they get bigger
Proof: Let the 2 consecutive perfect squares be and . Now distance between them (Number of numbers between them) is - -1 =. So, we notice as gets larger(i.e. the perfect squares get larger as and get larger as m does), (distance between and ) also does, which means that the distance between the consecutive squares get larger as the consecutive squares get larger (As is the measure of distance between them). Hence, this proves our claim.
Now, if the positive difference between 2 consecutive perfect squares increases as they get larger, this suffices to prove that perfect squares get rarer as numbers get larger.
The positive difference between two consecutive squares and is . Since gets larger for larger values of , the distance between consecutive squares gets bigger as the squares get bigger, and so it's evident that perfect squares get rarer as numbers get bigger and bigger.
⇒ The maximum value of occurs when is minimum and the minimum value of occurs when is maximum.
Minimum value of = 1 So, the numbers are 5, 6...1004. there are 29 perfect squares here, so
= ()=
Maximum value of = 1000 So, the numbers are 4001, 4002...5000. there are 7 perfect squares here, so = ()=
⇒
~SANSGANKRSNGUPTA
Solution 2
All of the sets from will have 1000 elements the most the number of square numbers will be in and least number of perfect squares in . So and . This is because the gaps between square number is less when n is greater then when n is less. By checking for there would be squares from {}, a total of 29 numbers while in there would be squares from {} a total of 7 numbers, so and , giving us
~ Lakshya Pamecha
Video Solutions
Video solution by cheetna: https://www.youtube.com/watch?v=kfEyX5yBdJo
Video solution by Unacademy Olympiad Corner: https://www.youtube.com/watch?v=Mm6mXjwU9bY
Video solution by Vedantu Olympiad School: https://www.youtube.com/watch?v=4DJXtR4VHEA
Video solution by Olympiad Wallah: https://www.youtube.com/watch?v=4HSjmY7d3nA
Video solution by : Motion Olympiad Foundation Class 5th - 10th: https://www.youtube.com/watch?v=oVaeHceHXsQ
Please note that above videos solutions are in Hindi, some in English and some in mixed(Hindi + English).
~SANSGANKRSNGUPTA
See Also
Please note that all problems on this page are copyrighted by THE | MTA(I)