the PRIME minister: Part 1Computer Science Level 2
The prime minister decides to throw a party. He invites 796 people to his party. He and 796 people sat in a straight line seat from most commoner till royalty till the end of the seat; himself. He serves out plates containing nougats that count primely. The first person gets 2 nougats, the second gets 3, and so on until the prime minister himself gets the most, how many nougats did the prime minister receive?