# Thread:

1. ## Arithmetic Progression

The sum of the first three terms and that of the last three terms of an arithmetic progression are 9 and 57 respectively. It is known that the sum of the whole sequence is 121, find the number of terms in this sequence.

$S_3=\frac{3}{2}[2a+(3-1)d]=9$ -----(1)

$S_n-S_{n-3}=121-\frac{n-3}{2}[2a+(n-3-1)d]=57$

$121-\frac{n-3}{2}[2a+(n-4)d]=57$

$\frac{n-3}{2}[2a+(n-4)d]=64$ -----(2)

$S_n=\frac{n}{2}[2a+(n-1)d]=121$ -------(3)

2. Originally Posted by Punch
The sum of the first three terms and that of the last three terms of an arithmetic progression are 9 and 57 respectively. It is known that the sum of the whole sequence is 121, find the number of terms in this sequence.

$S_3=\frac{3}{2}[2a+(3-1)d]=9$ -----(1)

$S_n-S_{n-3}=121-\frac{n-3}{2}[2a+(n-3-1)d]=57$

$121-\frac{n-3}{2}[2a+(n-4)d]=57$

$\frac{n-3}{2}[2a+(n-4)d]=64$ -----(2)

$S_n=\frac{n}{2}[2a+(n-1)d]=121$ -------(3)

3. If we take a as the first term of the sequence and d as the common difference, the first three terms are a, a+ d, and a+ 2d so their sum is 3a+ 3d= 9.
I am also making use of the fact that an arithemetic sequence has the useful property that the average of all terms is the same same average of the first and last terms, $(a_1+ a_n)/2$ so that their sum is $(a_1+ a_n)(n/2)$.

If there are n terms in the sequence, the last three terms are a+ (n- 3)d, a+ (n- 2)d, and a+ (n-1)d so their sum is 3a+ 3nd- 6d= 57. Subtracting the previous equation, 3nd- 9d= 3d(n- 3)= 48. Now, we can argue that since n is an integer, so is n-2 and so 3d must be an integer divisor of 48. $48= 3(2^4)$, so 3d must be one of 1, 3, 6, 12, 24, or 48.]

If 3d= 1 then d= 1/3 and n-3= 48 so n= 51. In that case, a= (9- 3(1/3))/3= 8/3 so that the last three terms are 8/3+ (48)(1/3)= 56/3, 8/3+ 49(1/3)= 57/3, and 8/3+ 50(1/3)= 58/3 which add to 57, of course. The sum of all 51 terms is (1/2)(8/3+ 58/3)(51)= (11)(51)= 561, not 121.

If 3d= 3 then d= 1 and n-3= 16 so n= 19. In that case, a= (9- 3)/2= 2. The last term is 2+ 18(1)= 20. The sum of all 19 terms is (1/2)(2+ 20)(19)= 11(19)= 209, not 121.

If 3d= 6, then d= 2 and n-3= 8 so n= 11. In that case, a= (9- 6)/3= 1 so the last term is 21. The sum of all 11 terms is (1/2)(1+ 21)(11)= 11(11)= 121!

If 3d is larger than 6, a= (9- 3d)/3 is not positive.

4. Originally Posted by abhishekkgp
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 13, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9354934692382812, "perplexity_flag": "middle"}