Finding the Rule of a Sequence