Fun with Sequences

Problem Name:
Fun with Sequences
Site:Spoj
Links:
Tags:
Problem setters: