Answered

Westonci.ca is the Q&A platform that connects you with experts who provide accurate and detailed answers. Get immediate and reliable answers to your questions from a community of experienced experts on our platform. Get immediate and reliable solutions to your questions from a community of experienced professionals on our platform.

You have a total supply of $1000$ pieces of candy, and an empty vat. You also have a machine that can add exactly $5$ pieces of candy per scoop to the vat, and another machine that can remove exactly $2$ pieces of candy with a different scoop from the vat. When these two machines are done, there is only one piece of candy left in the vat. What is the smallest possible number of times the the first machine added candy to the vat?