David W. answered 04/03/19
Experienced Prof
First, please recognize that:
- this is not an Arithmetic Sequence (with a constant difference)2
- this is not a Geometric Sequence (with a constant ratio)
Only now, recognize that this is a special Sequence with terms that seem to alternate (obviously, only a few terms are presented, so any definition applies only to what's given).
Now, a convenient way to have terms alternate (that is, +1, -1, +1, -1, ...) is to use (-1)n. The value (range) is connected to that in various ways.
For this problem, one convenient way is to consider the terms to be (4-2), (4+2), (4-2), (4+2), etc.
If the sequence begins with term 1 (note: some start with term 0), we have
a1 = 2 = 4-2
a2 = 6 = 4+2
a3 = 2 = 4-2
a4 = 6 = 4+2
a5 = 2 = 4-2
...
an = 4 + 2*(-1)n
Note that there may be other formulas (but fewer formulas as there are more terms given that must match.