Project Euler Problem 726

Consider a stack of bottles of wine.

Project Euler Problem 726

Solution

Answer: 578040951