2025 AMC 8 · Question 23
Problem outline
Count the four-digit integers ending in 99 which are both one below a perfect square and a product of exactly two primes, counted with multiplicity.
Show answer and methods 1 methods
Answer
B. .
Method 1 Test the factors adjacent to the square root
Topics usedDifference of squares
If is a square ending in 00, its square root is . The four-digit restriction gives . Factor : both factors exceed 1, so each must be prime.
For one factor is respectively , all composite. For both 59 and 61 are prime (test 2, 3, 5, 7). Only works.
Source and attribution
The outline and worked methods on this page were prepared for DR.WANG Mathematics.
Original question (external)