2013 AIME II Problems/Problem 6
Find the least positive integer such that the set of consecutive integers beginning with contains no square of an integer.
Solution
Solution 1
Let us first observe the difference between and , for any arbitrary . . So that means for every , the difference between that square and the next square have a difference of . Now, we need to find an such that . Solving gives , so . Now we need to find what range of numbers has to be square-free: have to all be square-free. Let us first plug in a few values of to see if we can figure anything out. , , and . Notice that this does not fit the criteria, because is a square, whereas cannot be a square. This means, we must find a square, such that the last digits are close to , but not there, such as or . Now, the best we can do is to keep on listing squares until we hit one that fits. We do not need to solve for each square: remember that the difference between consecutive squares are , so all we need to do is addition. After making a list, we find that , while . It skipped , so our answer is
Solution 2
Let be the number being squared. Based on the reasoning above, we know that must be at least , so has to be at least . Let be . We can write as , or . We can disregard and , since they won't affect the last three digits, which determines if there are any squares between . So we must find a square, , such that it is under , but the next square is over . We find that gives , and so . We can be sure that this skips a thousand because the increments it up each time. Now we can solve for : , while . We skipped , so the answer is