Project Euler #44: Pentagon numbers