This is a long question so bear with me. Four pirates find a treasure consisting of gold coins on a tiny island. They gather all the coins in a pile under a palm tree. Exhausted, they agree to wait until morning to split the coins. At 1 in the morning, the 1st pirate wakes. He realizes the others cant be trusted, and decides to take his share now. He divides the coins into four equal piles, but there is one left over. He throws the extra one in the ocean, hides his coins, and put the rest back undr the palm tree. At 2, Pirate 2 wakes up. Not realizing pirate 1 has already taken his share, he also divides up the remaining coins into 4 piles, with 1 left over. He throws the extra one in the ocean, hides his share and pus the rest of the coins back under the tree. At 3 and 4 in the morning, the third and fourth pirates each wake up and carrry out the same actions. In the morning, the pirates wake up, trying to look innocent. Noone says anything about the diminished coin pile. They divide the remaining pile into four piles for the fifth time, but this time there is no coin left over to throw in the ocean. Find the smallest number of coins in the original pile. I cant get this, my math teacher gave it to us. If you find the answer let me know, but if you have a method to this besides guess and check i'd like to know how.