返回题库

HMMT 十一月 2025 · GEN 赛 · 第 4 题

HMMT November 2025 — GEN Round — Problem 4

专题
Contest Math / 竞赛数学
难度
L3
来源
HMMT

题目详情

英文原题

  1. Given that a , b , and c are integers with c ≤ 2025 such that | x + ax + b | = c has exactly 3 distinctinteger solutions for x , compute the number of possible values of c .
    °
解析

英文解析

  1. Given that a , b , and c are integers with c ≤ 2025 such that | x + ax + b | = c has exactly 3 distinctinteger solutions for x , compute the number of possible values of c .
    Proposed by: Srinivas Arun
    Answer: 31
    Solution: The answer is 31. The possible values of c are c = 2 k for integers 1 ≤ k ≤ 31. These work 2
    2 2 2 2 2 2
    by taking a = 0 and b = − 2 k ; then | x − 2 k | = 2 k is equivalent to x = 0 or 4 k , so it has threeinteger solutions: x = 0 , − 2 k, 2 k .
    We will now prove no other values of c work. The problem condition is equivalent to the two quadraticequations
    2 2
    x + ax + b = c and x + ax + b = − chaving three distinct integer solutions in total.
    If c = 0, then these two quadratics are the same, so they have at most two roots in total, contradiction.
    Hence c ̸ = 0, so the two quadratics share no roots.
    If one of these quadratics has an integer root, then both its roots are integers. This follows from
    Vieta’s formulas: for each quadratic, the sum of the roots is − a , an integer. If only one quadratic hasinteger roots, then the two quadratics have at most two integer roots in total, contradiction. So bothquadratics have all integer roots.
    Because the two quadratics have three distinct integer roots in total, and all roots of both quadraticsare integers, the two quadratics have three distinct roots in total. Since the quadratics share no roots,
    one quadratic has two roots and the other has one root. Graphically, this means that the vertex ofx + ax + b lies on either the line y = c or y = − c . Since this parabola faces upward, the case y = c is 2
    impossible (since then x + ax + b never intersects y = − c ), so the vertex lies on y = − c . Refer to the 2
    diagram below.
    f ( x ) = x + ax + b 2
    y = cy = − c
    ( − , − c )a
    © 2025 HMMT2
    2 2 2 a
    Because x + ax + b = − c has one root, x + ax + ( b + c ) is a perfect square; it must be ( x + ) , anda a 2
    so x + ax + ( b + c ) = 0 has the single solution x = − . This implies is an integer.2
    2 2
    Next we use the condition that x + ax + b = c has integer roots. Complete the square to obtain that 2
    a 2
    2 2
    x + ax + b = c = ⇒ x + ax + ( b + c ) = x + = 2 c.
    a 2
    Since and x are both integers, 2 c must be a (nonzero) perfect square. Note that 2 c is even, so let
    2 2 22
    2 c = (2 k ) for some integer k . This rewrites as c = 2 k . Since 1 ≤ c ≤ 2025, 1 ≤ k ≤ 1012, so
    1 ≤ k ≤ 31. Hence these are the only values of c that work, as desired.
    °