Question

Difficulty: HardConsecutive Integers and Number Sets

Set SS consists of nn consecutive integers. The product of the smallest and largest integers in SS is 144-144. If the sum of all elements in SS is 9191, what is the value of nn?

Answer: 26

Answer

The number of consecutive integers nn in Set SS is 26.
By combining the consecutive set sum formula n(a+b)=182n(a + b) = 182 with the term span relation ba=n1b - a = n - 1 and the product constraint ab=144ab = -144, testing the factors of 182182 uniquely determines n=26n = 26, corresponding to the set of consecutive integers from 9-9 to 1616.

Step-by-Step Solution

1
Relate the number of elements nn to the smallest element aa and largest element bb.
ba=n1b - a = n - 1
In any set of nn consecutive integers, the distance between the maximum and minimum elements is n1n - 1.
2
Use the sum formula for an evenly spaced set.
n(a+b)=182n(a + b) = 182
The sum is Sum=n×a+b2=91\text{Sum} = n \times \frac{a + b}{2} = 91, which simplifies to n(a+b)=182n(a + b) = 182.
3
Factor 182182 to find integer solutions satisfying ab=144a \cdot b = -144.
n=26n = 26, a=9a = -9, b=16b = 16
For n=26n = 26, a+b=7a + b = 7 and ba=25b - a = 25, giving a=9a = -9 and b=16b = 16. Their product is (9)(16)=144(-9)(16) = -144.

Key Concept

Properties of consecutive integer sets, average/median sum formula, and term boundary indexing
Rate this question