A problem by Nathan Blanco
A ship was hit by a terrible storm. The ship would have sunk if not for the help of 3 sailors. To reward them, the captain gave the 3 sailors a chest full of coins to open at the next dock. After, they all went to sleep. During the night, one of the sailors awoke, divided the coins into 3 piles, and decided to take his share of coins. However, after dividing the coins, he found one left over. Quietly, he tossed the extra coin into the sea and went back to sleep. The second sailor did the same soon after, unaware of the first sailor's actions. He too divided the coins, took his share, found an extra coin, tossed it into the sea, and slipped back into bed. Later, the third sailor did the same, and also found an extra coin, which was tossed into the sea. In the morning at the docks, a tax-collector helped divide the coins and found one extra coin which he took. How many coins were there at the start?