How many four-digit numbers have all three of the following properties? (I) The tens digit and ones digit are both 9. (II) The number is 1 less than a perfect square. (III) The number is the product of exactly two prime numbers.
A. 0
B. 1
C. 2
D. 3
E. 4

Work through it with AI →

It won't just hand you the answer — it asks where you're stuck.How the checker works

Worked solution

1. 2025 AMC 8 官方解析

Answer (B): Suppose xx is a number that has all three properties. By property (I), x+1x + 1 is a multiple of 100. By property (II), x+1x + 1 is a perfect square, so x+1=n2x + 1 = n^2 for some integer nn. These facts together imply nn must be a multiple of 10. Because xx has four digits, the possible values of x=n2−1x = n^2 - 1 are
x=402−1,x = 40^2 - 1,
x=502−1,x = 50^2 - 1,
x=602−1,x = 60^2 - 1,
x=702−1,x = 70^2 - 1,
x=802−1,x = 80^2 - 1,
x=902−1, orx = 90^2 - 1, \text{ or}
x=1002−1x = 100^2 - 1
These are the only possible values because 302−130^2 - 1 is a 3-digit number and 1102−1110^2 - 1 is a 5-digit number.

For any value of nn, we can factor n2−1=(n−1)(n+1)n^2 - 1 = (n - 1)(n + 1). Moreover, n−1n - 1, nn, and n+1n + 1 are consecutive integers, so one of them is divisible by 3. If any of the above values of xx is factored as x=(n−1)(n+1)x = (n - 1)(n + 1), then n−1n - 1 and n+1n + 1 must be prime by property (III). In particular, neither n−1n - 1 nor n+1n + 1 is divisible by 3. Thus nn must be divisible by 3. This reduces the above list to
x=602−1=(60−1)(60+1)=59⋅61 and x=902−1=(90−1)(90+1)=89⋅91x = 60^2 - 1 = (60 - 1)(60 + 1) = 59 \cdot 61 \text{ and } x = 90^2 - 1 = (90 - 1)(90 + 1) = 89 \cdot 91
Only 602−1=59⋅6160^2 - 1 = 59 \cdot 61 is the product of two prime numbers because 91=7⋅1391 = 7 \cdot 13. Thus, there is only one number that has all three properties.

Answer

B. 1

AI analysis — may contain mistakes.

Worked this one out on paper? Snap your steps and Gigle's AI math checker will circle the step where it went wrong.

More questions on this topic

  1. 1任何质数加1都成为偶数。( )
  2. 2一个5位数,十位上的数字是最小的质数,个位上的数字是最小的自然数,百位上的数字是最小的合数,千位上的数是最小的偶数,万位上最小的奇数,这个5位数是___.
  3. 3ξ={integers x:2<x≤12}\xi = \{\text{integers } x: 2 < x \le 12\} A={prime numbers}A = \{\text{prime numbers}\} B={factors of 12}B = \{\text{factors of 12}\} C={greater than 100}C = \{\text{greater than } \sqrt{100}\}…
  4. 4The smallest of a set of five number is an even number and it is prime. The range and the mean is 7. The median is also…
  5. 51995的约数共有( ) A. 16 B. 17 C. 18 D. 19