Even consecutive integers are added. The sum is 6 times the greatest of the seven integers. What is?

Answers (2)

Proofread to see if you any words out.

x + x -2 + x - 4 + x - 6 + x - 8 + x - 10 + x - 12 = 6x

7x - 42 = 6x

x = 42

Votes: +0 / -0

Your question reads, as if you wanted to ask, "[S]even consecutive integers are added [up]. [...] Which integer meets both conditions?"

Let's be inventive and call the desired number n.

1st condition: n := maximum (sequence: [k-6 , k-5 , k-4 , ... , k-1 , k] ); k € N
.... Obviously n := k, due to our skilfully arranged sequence. We'll immediately
.... apply that in the next step:

2nd condition: n:= (sum (sequence: [n-6 , n-5 , n-4 , ... , n-1 , n] )) / 6
.... n = (n-6 + n-5 + n-4 + ... + n) / 6
.... n = ((7n) - 6 - 5 - 4 - 3 - 2 - 1) / 6
.... n = ((7n) - (6 + 5 + 4 + 3 + 2 + 1)) / 6

............. sum ( - (6 + 5 + 4 + 3 + 2 + 1))
............. - sum (6 + 5 + 4 + 3 + 2 + 1)
............. If you don't want to iterate over this sequence, then apply the
............. corresponding function to the sequence: sum (1 to k) = (k * (k + 1)) / 2.
............. For k = 6 it returns 21.

Finally, we put it all together:

n = (7n - 21) / 6
6n = 7n - 21
n = 21

Hence, the sequence is: [15, 16, 17, 18, 19, 20, 21]
Test:
maximum (sum [15, 16, 17, 18, 19, 20, 21] => 126) / 6 = 21.

Votes: +0 / -0