Squares

Find the smallest positive integer n such that 1000 multiplied by n and the next 999 integers are not perfect squares. Source: AIME


The answer is 282.

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.

1 solution

Ayush G Rai
Nov 1, 2016

Let the highest perfect square below the sequence be n 2 n^2 and the lowest perfect square above the sequence be ( n + 1 ) 2 (n+1)^2 , and assume that 1000 N 1000N is the least multiple of 1000 1000 that is greater than n 2 n^2 (we want it minimized), so that our sequence should look a little like this: . . . , n 2 , . . . , 1000 N , 1000 N + 1 , . . . , 1000 N + 999 , . . . , ( n + 1 ) 2 , . . . ...,n^2,...,1000N,1000N+1,...,1000N+999,...,(n+1)^2,... It is clear that n 500 n\geq{500} , otherwise there are less than 1000 1000 terms in the sequence. Letting n = 500 + x n=500+x for some non-negative integer x x we have n 2 = ( 500 + x ) 2 = 250000 + 1000 x + x 2 ( ) n^2=(500+x)^2=250000+1000x+x^2 (*) Now observe that the difference between n 2 n^2 and ( n + 1 ) 2 (n+1)^2 for n [ 500 , 549 ] n\in{[500,549]} is 1099 \leq{1099} ( ) (**) . Taking n 2 n^2 (see ( ) (*) ) m o d 1000 \mod{1000} the two terms on the left end disappear and we're left with n 2 x 2 ( m o d 1000 ) . n^2\equiv{x^2}\pmod{1000}. We want to add the minimum possible number to n 2 n^2 to get 1000 N 1000N , thus, we need x 2 x^2 to be as close to 1000 1000 as possible otherwise ( n + 1 ) 2 (n+1)^2 will be a member of the sequence { 1000 N + k } k = 0 999 \{1000N+k\}_{k=0}^{999} rather than strictly above it as required; this can be seen by considering ( ) (**) : if x 30 x\leq{30} then we need to add 100 \geq{100} to n 2 n^2 to get 1000 N 1000N , but that would mean that for n [ 500 , 549 ] n\in{[500,549]} (we want to keep n n as low as possible), ( n + 1 ) 2 n 2 1000 (n+1)^2-n^2\leq{1000} which we certainly don't want! (Why?) Thus, we must have x 31. x\geq{31}. So the least possible value of x = 31 x=31 , and trying this yields the sequence: . . . , 53 1 2 , . . . , 1000 × 282 , 1000 × 282 + 1 , . . . , 1000 × 282 + 999 , . . . , 53 2 2 , . . . ...,531^2,...,1000\times{282},1000\times{282}+1,...,1000\times{282}+999,...,532^2,... It follows that the least possible value of 1000 N = 1000 × 282 1000N=1000\times{282} \implies min { N } = 282 . \min\{N\}=\boxed{282}.

What's wrong with N=250 (1000n=500²), 501²=251001.

Kartik Malik - 4 years, 7 months ago

Log in to reply

plz read the question properly.There must not be perfect squares in the interval [250000,250999].So 251001 is included in that interval.Hence 250 cannot be the answer

Ayush G Rai - 4 years, 7 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...