Skip to main content

2020 AMC 12A Problem 8

Problem 8 of 25EasierAlgebraNumber TheoryCounting & Probability

What is the median of the following list of 40404040 numbers? 1,1, 2,2, 3,3, ,\ldots, 2020,2020, 12,1^2, 22,2^2, 32,3^2, ,\ldots, 202022020^2

Answer choices

Show solution

Solution

The median is the average of the 20202020th and 20212021st smallest values. The perfect squares that are at most 20202020 are 12,,4421^2, \ldots, 44^2 (since 442=193644^2 = 1936 and 452=202545^2 = 2025), so there are 4444 of them. Among the list, the numbers 1976\le 1976 are the 19761976 integers 1,,19761, \ldots, 1976 together with those 4444 squares, totaling 1976+44=2020.1976 + 44 = 2020. Thus the 20202020th value is 19761976 and the 20212021st value is 1977,1977, making the median 1976+19772=1976.5.\dfrac{1976 + 1977}{2} = 1976.5. Thus, C is the correct answer.

More practice

Concepts: median (data) · perfect square · counting integers in a range

Problem text and solution from the LIVE past-contest archive. See also the AoPS wiki page for community solutions.