# Free Sequence Alignment

In this article, we will discuss about the free sequence alignment. Sequence alignment is a method of arranging the sequences. It has two types of sequences.

1. Arithmetic sequence and

2. Geometric sequence.

Arithmetic sequence means that, the sequence of numbers such that the difference between two consecutive members of the sequence is a constant. Geometric sequence means that, the sequence of numbers such that the ratio between two consecutive members of the sequence is a constant. The free sequence alignment formulas and example problems are given below.

Sequences formulas are given below.

Formula for arithmetic sequence:

nth term of the sequence : an = a1 + (n - 1)d

Series of the sequence: sn = `(n(a_1 + a_n))/2 `

Formula for geometric sequence:

nth term of the sequence: an = a1 * rn-1

Series of the sequence: sn = `(a_1(1-r^n))/(1 - r)`

Example problem 1:

Find the 10th term of the given series 11, 31, 51, 71,.....

Solution:

First term of the series, a1 = 11

Difference of two consecutive terms, d = 31 - 11 = 20

n = 10

The formula to find the nth term of an arithmetic series, `a_n = a_1 + (n-1)d`

So, the 10th term of the series 11, 31, 51, 71,.... = 11 + (10 - 1) 20

= 11 + 9 * 20

= 11 + 180

After simplify this, we get

= 191

So, the 10th term of the sequence 11, 31, 51, 71,... is 191.

Example problem 2:

Find out the 6th term of a geometric sequence if a1 = 55 and the common ratio (C.R) r = 2

Solution:

Use the formula `a_n = a_1 * r^(n-1)` that gives the nth term to find `a_6` as follows

`a_6 = a_1 * r^(6-1)`

= 55 * (2)5

= 55 * 32

After simplify this, we get

= 1760

The 6th term of a geometric sequence is 1760.

The above examples are helpful to study of free sequence alignment.