Answered

Welcome to Westonci.ca, the Q&A platform where your questions are met with detailed answers from experienced experts. Connect with a community of experts ready to help you find accurate solutions to your questions quickly and efficiently. Experience the convenience of finding accurate answers to your questions from knowledgeable experts 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?