Kermit's Strange Backyard
Source:
March 2, 2008
Problem Statement
Kermit the frog enjoys hopping around the infinite square grid in his backyard. It takes him Joule of energy to hop one step north or one step south, and Joule of energy to hop one step east or one step west. He wakes up one morning on the grid with Joules of energy, and hops till he falls asleep with energy. How many different places could he have gone to sleep?