Term-to-term and position-to-term rule

generate terms of a sequence from either a term-to-term or a position-to-term rule