1998 AMC 12 Problem 24

Attempt Problem 24 of the 1998 AMC 12 below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 1998 AMC 12 solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

24.

Call a 77-digit telephone number d1d2d3d_1d_2d_3-d4d5d6d7d_4d_5d_6d_7 memorable if the prefix sequence d1d2d3d_1d_2d_3 is exactly the same as either of the sequences d4d5d6d_4d_5d_6 or d5d6d7d_5d_6d_7 (possibly both). Assuming that each did_i can be any of the ten decimal digits 0,0, 1,1, 2,2, ,\ldots, 9,9, the number of different memorable telephone numbers is

19,81019{,}810

19,91019{,}910

19,99019{,}990

20,00020{,}000

20,10020{,}100

Answer: C
Concepts:inclusion-exclusiondigit strings
Difficulty rating: 1800
Small Hint:

Count numbers satisfying each of the two matching conditions separately

Big Hint:

If both matches hold, all seven digits are forced by one repeated digit

Solution:

Each matching condition gives 104=10,00010^4=10,000 numbers: choose the three prefix digits and the one unconstrained remaining digit. If both hold, then d1d2d3=d4d5d6=d5d6d7,d_1d_2d_3=d_4d_5d_6=d_5d_6d_7, forcing all digits equal, so there are 1010 overlaps. Inclusion-exclusion gives 10,000+10,00010=19,990,10,000+10,000-10=19,990, so C is correct.

← Problem 23#23
Full Exam

Problem 24 in Other Years

1950 AMC 12 · 1951 AMC 12 · 1952 AMC 12 · 1953 AMC 12 · 1954 AMC 12 · 1955 AMC 12 · 1956 AMC 12 · 1957 AMC 12 · 1958 AMC 12 · 1959 AMC 12 · 1960 AMC 12 · 1961 AMC 12 · 1962 AMC 12 · 1963 AMC 12 · 1964 AMC 12 · 1965 AMC 12 · 1966 AMC 12 · 1967 AMC 12 · 1968 AMC 12 · 1969 AMC 12 · 1970 AMC 12 · 1971 AMC 12 · 1972 AMC 12 · 1973 AMC 12 · 1974 AMC 12 · 1975 AMC 12 · 1976 AMC 12 · 1977 AMC 12 · 1978 AMC 12 · 1979 AMC 12 · 1980 AMC 12 · 1981 AMC 12 · 1982 AMC 12 · 1983 AMC 12 · 1984 AMC 12 · 1985 AMC 12 · 1986 AMC 12 · 1987 AMC 12 · 1988 AMC 12 · 1989 AMC 12 · 1990 AMC 12 · 1991 AMC 12 · 1992 AMC 12 · 1993 AMC 12 · 1994 AMC 12 · 1995 AMC 12 · 1996 AMC 12 · 1997 AMC 12 · 1999 AMC 12 · 2000 AMC 12 · 2001 AMC 12 · 2002 AMC 12A · 2002 AMC 12B · 2003 AMC 12A · 2003 AMC 12B · 2004 AMC 12A · 2004 AMC 12B · 2005 AMC 12A · 2005 AMC 12B · 2006 AMC 12A · 2006 AMC 12B · 2007 AMC 12A · 2007 AMC 12B · 2008 AMC 12A · 2008 AMC 12B · 2009 AMC 12A · 2009 AMC 12B · 2010 AMC 12A · 2010 AMC 12B · 2011 AMC 12A · 2011 AMC 12B · 2012 AMC 12A · 2012 AMC 12B · 2013 AMC 12A · 2013 AMC 12B · 2014 AMC 12A · 2014 AMC 12B · 2015 AMC 12A · 2015 AMC 12B · 2016 AMC 12A · 2016 AMC 12B · 2017 AMC 12A · 2017 AMC 12B · 2018 AMC 12A · 2018 AMC 12B · 2019 AMC 12A · 2019 AMC 12B · 2020 AMC 12A · 2020 AMC 12B · 2021 AMC 12A Spring · 2021 AMC 12B Spring · 2021 AMC 12A Fall · 2021 AMC 12B Fall · 2022 AMC 12A · 2022 AMC 12B · 2023 AMC 12A · 2023 AMC 12B · 2024 AMC 12A · 2024 AMC 12B · 2025 AMC 12A · 2025 AMC 12B