Math+Counts

http://www.cemc.uwaterloo.ca/contests/past_contests/GaussCombinedG8Contest.pdf