What is the median of the following list of $4040$ numbers? \[1, 2, 3, \ldots, 2020, 1^2, 2^2, 3^2, \ldots, 2020^2\] $\textbf{(A)}\ 1974.5$ $\textbf{(B)}\ 1975.5$ $\textbf{(C)}\ 1976.5$ $\textbf{(D)}\ 1977.5$ $\textbf{(E)}\ 1978.5$
The median is the mean of the $2020$th and $2021$st numbers. The count of numbers at most $t$ is $t+\lfloor\sqrt t\rfloor$ for each integer $1\le t\le2020$: the $t$ numbers $1,\dots,t$ and the $\lfloor\sqrt t\rfloor$ squares $1^2,\dots,\lfloor\sqrt t\rfloor^2$.
Since $44^2=1936\le1976<45^2=2025$, the count up to $1976$ is $1976+44=2020$, while the count up to $1975$ is $2019$; so the $2020$th number is $1976$. The next number is $1977$ (no square lies in between), the $2021$st. The median is $1976.5$. The answer is (C).