第 563 题:(2013 AIME II, 6)
Find the least positive integer $N$ such that the set of $1000$ consecutive integers beginning with $1000\cdot N$ contains no square of an integer.
- Let $k^2$ be the largest square below $1000N$ and let $r$ be its last three digits, so the block starts at $1000N=k^2-r+1000$. The block contains no square exactly when $(k+1)^2=k^2+2k+1>1000N+999=k^2-r+1999$, i.e.\ $r>1998-2k$.
- Since $r\le999$, we need $2k>999$, so $k\ge500$. Write $k=500+j$. Then $k^2=250000+1000j+j^2$, so for $j\le31$ the last three digits are $r=j^2$.
- The condition becomes $j^2>998-2j$, i.e.\ $(j+1)^2>999$, so $j\ge31$. The first case is $k=531$, where $531^2=281961$ and $532^2=283024$, so the block $282000,\dots,282999$ has no square.
- So $N=282$. The answer is $\boxed{282}$.
Find the least positive integer $N$ such that the set of $1500$ consecutive integers beginning with $1500\cdot N$ contains no square of an integer.