You can solve Microsoft's tough golden division puzzle
The puzzle is as follows:
The billionaire died, leaving all his possessions to his five sons, five daughters and his manager. He also made clear how to divide the property in the will.
First, the manager received a gold coin. One fifth of the remaining gold belongs to the son.
The manager continued to receive an additional gold coin. One fifth of the remaining gold is given to the second son. The same way of dividing is applied to 3rd, 4th and 5th sons.
After the 5th son received his gold, the remaining assets were divided equally for 5 daughters.
With this division, the assets left by the billionaire are all divided, not surplus.
So, how many gold coins does the billionaire have?
Answer:
According to reader Nguyen Trung Thanh, give the following answer:
Let x be the number of gold divided by the girls, so the problem word will have the total number of gold is V = ((((x * 5) * 5/4 +1) * 5/4 + 1) * 5 / 4 + 1) * 5/4 + 1) * 5/4 + 1.
All numbers here must be positive => x must be divisible by 4 => Set x = 4a V = (((25a +1) * 5/4 + 1) * 5/4 + 1) * 5 / 4 + 1) * 5/4 + 1 a must be divided by 4 remainder 3 => Set a = 4b + 3 V = (((125b + 96) * 5/4 + 1) * 5/4 + 1) * 5/4 + 1 => Set b = 4c V = (((625c + 121) * 5/4 + 1) * 5/4 + 1 => Set c = 4d + 3 V = (((3125d + 2496) * 5/4 + 1 => Set d = 4e V = 3125 * em * 5 + 3121 => V minimum when I = 0 => The smallest amount of gold to divide is 3121 gold coins.
Recalculating will have:
The eldest son (3121 - 1) / 5 = 624, the remaining 2496 VND The 2nd Son (2496 - 1) / 5 = 499, the remaining 1996 VND.
The third child (1996 - 1) / 5 = 399, the remaining 1596 VND.
Fourth child (1596 - 1) / 5 = 319, remaining 1276 VND.
The fifth child is (1276 - 1) / 5 = 255, the remaining 1020 VND.
Each daughter gets 1020/5 = 204 VND.
Management of 5 dong => Other billionaires are divided, spread equally, each male and female is guilty. Uncle devotedly managed for his whole life, he had 5 dongs.
See more:
- Microsoft suddenly raised the price of Windows 10 Home version to 139 USD
- Microsoft publicly released MS-DOS source code on GitHub
- Microsoft will not notify you of the amount of memory required to install Windows 10 updates
You should read it
May be interested
- Microsoft Excel Test P7proficiency in using excel and mastering excel tips will greatly help your promotion or study. in the article below, network administrator will help you add knowledge about this topic through multiple choice questions.
- Multiple choice questions about Photoshop P2new beginners familiar with photoshop, this test will help you a lot in the learning process.
- Multiple choice questions on Microsoft Word 2010 have answer P1in this article, join the network administrator to test your knowledge through the following extremely interesting multiple choice questions.
- Set of multiple choice questions on programming with P3 prizeinvite readers to participate in testing knowledge with questions around the topic of the following programming of network administrator. the question set will have 10 questions with 4 answers, please choose the most accurate answer.
- Test on computer network with answer P10the network administrator would like to send you a series of multiple choice questions on the computer network so you can consult and test your knowledge.
- What do you know about software technology P7please test your knowledge with a series of tests with the following software technology topic of network administration. hope they will give you more useful knowledge.