The
following article is inspired from https://brilliant.org/daily-problems/average-visual/ of March 17^{th}, 2019.

The Arithmetic Mean Sequence for any 2 numbers, a_{1} and a_{2}, is a progressive series of numbers where each number is the Arithmetic Mean of the previous 2 numbers, starting the sequence with a_{1} and a_{2}.

## Solving intermediary values in the sequence

Let x be the lower end of the line passing between points x and y, such that var_{n} lies on the line, and y is the Arithmetic Mean of its previous 2 numbers.

The intermediary values can be found in terms of the first unknown number, var_{1}. This approach requires that the var_{1} is computed first by using the only 2 numbers known.

Once the first variable is found, the next unknown values can be computed in terms of the known values.

Two approaches are possible to calculate the remaining values, once the first value is known. The easiest way is to use the Arithmetic Mean. That is, to build the sequence one unknown at a time. However, if the list of unknown values is unknown a more direct approach to find the unknown values at position *n* is to calculate the value in terms of the first unknown value that was found, using the equation

The above is good, but with more elaboration, the necessity to compute the first unknown value can be removed. With some manipulation to the above process, it is possible to compute each unknown value in terms of the boundary known values. The equation for direct calculation of an unknown value in the sequence is

{var}_n=\frac{2^{\left|vars\right|}Jacobsthal(n)y\ +\ \left({-1}^nJacobsthal(\left|vars\right|)\ +\ {-1}^{\left|vars\right|}Jacobsthal(n\ -\ 1)\right)x}{Jacobsthal(\left|vars\right|\ +\ 1)2^{n-1}}Using the above equations it is possible to solve intermediate values of a finite arithmetic mean sequence.

Proofs for the above equations can be found in the supplementary paper.