If a sequence is finite , it is easy to say what it is : you can just write down all the things in the sequence . This does not work for an infinite sequence . If the terms of a sequence are integers , then the sequence is an integer sequence .