2025 AMC 8 Problem 23

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

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

23.

How many four-digit numbers have all three of the following properties?

(I) The tens digit and ones digit are both 9.9.

(II) The number is 11 less than a perfect square.

(III) The number is the product of exactly two prime numbers.

00

11

22

33

44

Answer: B
Concepts:difference of squaresprime
Difficulty rating: 1770
Video solution:
Solution video thumbnail
Play video

Click to load, then click again to play

Written solution:

The number has the form XX99,XX99, and so the perfect square that is 11 more ends in 00,00, and so it is the square of a number ending in 0.0. Suppose that square is a2.a^2.

In order for a21a^2 - 1 to be a 44-digit number ending in 9999, the only possibilities for aa are {40,50,60,70,80,90,100}.\{40, 50, 60, 70, 80, 90, 100\}.

Since a21=(a1)(a+1),a^2 - 1 = (a-1)(a+1), we also need both a1a-1 and a+1a+1 to be prime. We are then looking for pairs of prime numbers that are right around {40,50,,100}.\{40, 50, \dots, 100\}.

Going through all the possibilities, the only ones that work are 5959 and 6161, and so there is exactly 11 way to do this. The answer is B.

← Problem 22#22
Full Exam

Problem 23 in Other Years

1985 AMC 8 · 1986 AMC 8 · 1987 AMC 8 · 1988 AMC 8 · 1989 AMC 8 · 1990 AMC 8 · 1991 AMC 8 · 1992 AMC 8 · 1993 AMC 8 · 1994 AMC 8 · 1995 AMC 8 · 1996 AMC 8 · 1997 AMC 8 · 1998 AMC 8 · 1999 AMC 8 · 2000 AMC 8 · 2001 AMC 8 · 2002 AMC 8 · 2003 AMC 8 · 2004 AMC 8 · 2005 AMC 8 · 2006 AMC 8 · 2007 AMC 8 · 2008 AMC 8 · 2009 AMC 8 · 2010 AMC 8 · 2011 AMC 8 · 2012 AMC 8 · 2013 AMC 8 · 2014 AMC 8 · 2015 AMC 8 · 2016 AMC 8 · 2017 AMC 8 · 2018 AMC 8 · 2019 AMC 8 · 2020 AMC 8 · 2022 AMC 8 · 2023 AMC 8 · 2024 AMC 8 · 2026 AMC 8