### Video Transcript

In an arithmetic sequence that starts at π sub one, π sub 27 equals 29 and the sum of the eighth and the 12th terms exceeds the 15th by seven. Find the number of terms whose sum is 322.

Remember, an arithmetic sequence is one which has a common difference between terms. Weβre going to work backwards by looking at forming an expression that describes some number of terms of an arithmetic sequence.

Suppose we have an arithmetic sequence with first term π and common difference π. π sub π, which describes the sum of the first π terms, is given by π divided by two times two π plus π minus one times π. Now, in fact, weβre told the first term is π sub one. And we want to find the number of terms, the value of π, where the sum is 322. So letβs let π sub π be 322. Then, since the first term in our sequence is π sub one, the right-hand side becomes π divided by two times two π sub one plus π minus one times π.

Now, it follows that in order to be able to calculate the value of π, weβre going to need to work out the value of π and the value of π sub one. And thereβs some information in the question that will allow us to do so. First, we know that the 27th term is 29 and we also know the formula that allows us to find the πth term in an arithmetic sequence. Itβs π plus π minus one times π. This time, letβs let π sub π be π sub 27. Itβs 29. Then, the right-hand side of this equation can be written as π sub one plus π minus one β thatβs 27 minus one β π, or 26π.

The next bit of information compares the sum of the eighth and 12th terms to the 15th. So letβs form expressions for the 15th, eighth, and 12th term. The 15th term is π sub one plus 15 minus one π, or 14π. Then, the eighth and 12th terms are π sub one plus seven π and π sub one plus 11π, respectively. We know that the sum of the eighth and 12th terms exceeds the 15th by seven. So letβs find their sum. Itβs π sub one plus seven π plus π sub one plus 11π, which is two π sub one plus 18π.

Weβre going to relate this expression to the expression for π sub 15. We know that the sum of the eighth and 12th terms will be equivalent to the 15th term plus seven. So we can form the following equation. Two π sub one plus 18π equals π sub one plus 14π plus seven. If we subtract π sub one and 14π from both sides, we get the following equation. π sub one plus four π equals seven.

We might now see that we have a pair of simultaneous equations. We can use this equation along with the equation we formed describing the 27th term. Letβs clear some space to do so.

We can rearrange our second equation so that it matches the form of the first. Then, we notice that the coefficient of π sub one is the same. So we can subtract one equation from the other. 29 minus seven is 22, π sub one minus π sub one is zero, and 26 minus four is 22. So we get 22 equals 22π. Dividing through by 22, and we find π is equal to one. And thatβs great because weβll be able to substitute this into the expression we formed to describe the sum of some number of terms.

Before we do though, letβs evaluate π sub one. Weβre going to substitute this into the equation seven equals π sub one plus four π. When we do, we get seven equals π sub one plus four times one, or just π sub one plus four. We then subtract four from both sides, and we get π sub one equals three.

We now have all the information we need to describe our arithmetic sequence. We know it has a common difference of one and a first term of three. But we also know we want to find the number of terms whose sum is 322. So letβs substitute these values into that equation. That gives us 322 equals π over two times two times three plus π minus one times one. Evaluating the terms inside our parentheses, and it simplifies simply to five plus π.

Weβre going to write some of the key information down and then clear some space to solve this equation. So, to solve this equation, letβs begin by dealing with the fraction. Weβre going to multiply both sides of the equation by two. That gives us 644 equals π times five plus π. We can then distribute the parentheses on the right-hand side, and we get five π plus π squared.

Here, we notice we have a quadratic equation in π. And to solve it, we need to set it equal to zero. Letβs subtract 644 from both sides. Then, to factor the expression on the right-hand side, we need to find a pair of numbers whose product is negative 644 and whose sum is five. Perhaps a little bit of trial and error, and we find that we get negative 23 and 28. So this quadratic expression is π minus 23 times π plus 28. And for the product of these two expressions to be zero, we know that one or other must itself be zero. We then solve each equation for π, and we get π equals 23 or negative 28. And at this stage, we can instantly disregard π equals negative 28.

Remember, weβre finding a number of terms, so π must be a natural number. This means that π is 23. And so it must be 23 terms whose sum is 322. The answer is 23.