🏆Meta Hacker Cup 2012 Round 2-C: Sequence Slicing

Difficulty: Hard
Topic: Combinatorics & Number Theory