Identifying the Function representing a Sequence