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 $3$ 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?

BRAlNBOLT Jul 18, 2024

#1**+1 **

Let the first machine cycle two times and then shut it off, for a total of 10 added.

Let the second machine cycle three times and then shut it off, for a total of 9 removed.

10 – 9 = 1 candy left in the bottom

Thus, the answer is \(2\)

Thanks! :)

NotThatSmart Jul 18, 2024