Let the equation x2+y2+px+(1−p)y+5=0 represent circles of varying radius r∈(0,5]. Then, the number of elements in the set S={q:q=p2 and q is an integer} is \_\_\_\_\_\_\_\_.
Answer: 61
Solutions · 1
Official solution
\[r^2=\frac{p^2+(1-p)^2}4-5=\frac{2p^2-2p-19}4.\]
0<r2≤25⇒0<2p2−2p−19≤100.
Left: p<21−39 or p>21+39. Right: 21−239≤p≤21+239.
So p∈[21−239,21−39)∪(21+39,21+239].
Computing q=p2 at the four boundary points: 2120−239≈52.27, 220−39≈6.878, 220+39≈13.12, 2120+239≈67.73.
The two branches give q∈(6.878,52.27] and q∈(13.12,67.73], whose union is (6.878,67.73]. Integer values: q=7,8,…,67.
67−7+1=61.