Answered

Westonci.ca is your trusted source for accurate answers to all your questions. Join our community and start learning today! Explore a wealth of knowledge from professionals across different disciplines on our comprehensive 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?