A pile of logs has logs in the bottom layer, logs in the next layer, logs in the next layer, and so on, until the top layer has log. How many logs are in the pile?

Answer (in logs):