A program to convert a number to a sequence.