Integer sequencing

Algebra Level 4

Consider all the sequences of consecutive positive integers that add to 30.
Take the final term of each sequence and add them together.

What is the result?

Definition: A sequence is defined as 3 or more consecutive integers.


The answer is 28.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Tina Sobo
Nov 29, 2016

While the author's solution is correct, this hopefully explains it more fully. Each sequence will be an AP with common difference d = 1 d=1 .

Then for any sequence, let x x be the first term and n n be the number of terms. The sum of the sequence is [ ( x ) + ( x + n 1 ) ] n 2 [(x) + (x+n-1)]\frac{n}{2} (first term plus last term multiply by the number of pairs; where the last term is x + n 1 x+n-1 because the sequence is consecutive integers).

The sum must equal 30, therefore ( 2 x + n 1 ) n 2 = 30 2 x + n 1 = 60 n (2x+n-1)\frac{n}{2} = 30 \rightarrow 2x+n-1 =\frac{60}{n} . Since n n is always an integer, 60 n \frac{60}{n} is an integer only if n n divides 60.

If 60 n \frac{60}{n} is an integer, 60 n + 1 n \frac{60}{n} + 1 - n must be even for x x to be an integer.

The first sequence must be at least 3 terms long.

if n = 3 n = 3
2 x + 3 1 = 60 3 x = 9 2x+3-1 = \frac{60}{3} \rightarrow x=9 \rightarrow Sequence is 9, 10, 11, LAST TERM = 11

If n = 4 n=4
2 x + 4 1 = 60 4 x = 6 2x+4-1 = \frac{60}{4} \rightarrow x=6 \rightarrow Sequences is 6, 7, 8, 9, LAST TERM = 9

If n = 5 n=5
2 x + 5 1 = 60 5 x = 4 2x+5-1 = \frac{60}{5}\rightarrow x=4 \rightarrow Sequence is 4, 5, 6, 7, 8, LAST TERM = 8

If n = 6 n=6
2 x + 6 1 = 60 10 2 x = 5 x 2x+6-1=\frac{60}{10} \rightarrow 2x=5 \rightarrow x is not an integer

If n = 7 , 8 , 9 n=7, 8, 9 , 60 n \frac{60}{n} is not an integer
If n = 10 : 2 x + 9 = 6 n=10: 2x+9=6 and x x is negative, but the problem specifies that we are using positive integers, therefore n n cannot be larger or equal to 10.

Thus the only 3 sequences are in fact the ones above, and the sum of the last terms is 11 + 9 + 8 = 28 11 + 9 + 8 = 28 .

I've made some edits on your solution. Mainly

  • Adding LaTeX to increase readability
  • Remove trivial calculations (ie. 2 x + 3 1 = 60 3 2 x + 3 1 = 20 2 x = 18 x = 9 2x+3-1=\frac{60}{3}\rightarrow 2x+3-1=20\rightarrow 2x=18\rightarrow x=9 to 2 x + 3 1 = 60 3 x = 9 2x+3-1=\frac{60}{3}\rightarrow x=9 ). Generally, trivial calculations doesn't add much value to the solution but increase wordiness and might take away attention from the core idea.

Hope you like it!

Christopher Boo - 4 years, 6 months ago
Denton Young
Nov 29, 2016

There are 3 such sequences:

9, 10, 11

6, 7, 8, 9

4, 5, 6, 7, 8

The final terms are 11, 9, and 8. 11 + 9 + 8 = 28.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...