Generating Function Of A Sequence