# What if you use logical reasoning?

I have a box which contains $$x$$ amount of balls.

• If I take them out 1 at a time, no balls would be left in the box.

• If I take them out 2 at a time, 1 ball would be left in the box.

• If I take them out 3 at a time, no balls would be left in the box.

• If I take them out 4 at a time, 1 ball would be left in the box.

• If I take them out 5 at a time, 4 balls would be left in the box.

• If I take them out 6 at a time, 3 balls would be left in the box.

• If I take them out 7 at a time, no balls would be left in the box.

• If I take them out 8 at a time, 1 ball would be left in the box.

• If I take them out 9 at a time, no balls would be left in the box.

What is the least number of balls I have?

×