# the sum of all my digits (x + 8 + 2 + 7) is the middle number of three consecutive integers such that the sum of the second and third is twenty more than the first

rugbykats | High School Teacher | (Level 2) Adjunct Educator

Posted on

First, solve the three consecutive integers part of the problem.

Let the three consecutive integers be y, y+1 and y+2. Then,

y+20=(y+1)+(y+2)

Subtract y from each side: 20=y+3

Subtract 3 from each side: 17=y

(Check: 17+20=18+19. Each side equals 37, so we are correct.)

Now, solve the second part of the problem. We know the sum of the digits is equal to the middle integer, so

(x+8+2+7) = (y+1)

Plug in the known quantity for y+1: (x+8+2+7) = 18

Simplify: x+17=18

Subtract 17 from each side: x=1

(Check: 1+8+2+7=18. Each side equals 18, so we are correct.)

From there, the correct answer depends on how the question was asked. The apparent answer is 1827. However, your question just said the sum of my digits, which would mean any combination of those four digits would work. If that's the case, there are 24 correct answers.