Generating Function for mth Terms of Sequence/Examples