There are two kinds of sequences . One kind is finite sequences , which have an end .
Finite sequences are sometimes known as strings or words and infinite sequences as streams .