fixed some math typos in project euler problem 340 post.