generate terms of a sequence using term-to-term and position-to-term definitions of the sequence Including odd, even, squares, multiples and powers