A problem inspired by Jay B

This is a problem inspired by Jay B. You can check out his similar problems!

There are 45 balls in a bowl. You can choose to take 23 or 5 balls in and out of the bowl, but you can only do one move at a time.

Only the 45 balls in the bowl can be used, and no other balls are used.

By following these rules, is it possible to have only 1 ball remain in the bowl?

Yes, more than 10 moves are needed Yes, less than 10 moves are needed It is not possible

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

David Vreken
Jan 23, 2020

Yes, less than 10 10 moves are needed:

1 ) 45 23 = 22 1) \text { } 45 - 23 = 22

2 ) 22 + 5 = 27 2) \text { } 22 + 5 = 27

3 ) 27 23 = 4 3) \text { } 27 - 23 = 4

4 ) 4 + 5 = 9 4) \text { } 4 + 5 = 9

5 ) 9 + 5 = 14 5) \text { } 9 + 5 = 14

6 ) 14 + 5 = 19 6) \text { } 14 + 5 = 19

7 ) 19 + 5 = 24 7) \text { } 19 + 5 = 24

8 ) 24 23 = 1 8) \text { } 24 - 23 = 1

Sir, can you please explain me how you reached this? I don't think this problem can be solved without trial and error!

Vinayak Srivastava - 1 year ago

Log in to reply

There was a little bit of trial and error. Essentially I needed to solve 5 x 23 y = 1 45 5x - 23y = 1 - 45 , which rearranges to 23 y 5 x = 44 23y - 5x = 44 , a linear Diophantine equation where one solution is x = 5 x = 5 and y = 3 y = 3 . Since x + y = 8 < 10 x + y = 8 < 10 , I knew there could be a solution, as long as I was careful to arrange the moves so that the running total of balls was not negative and did not exceed 45 45 .

David Vreken - 1 year ago

1 pending report

Vote up reports you agree with

×

Problem Loading...

Note Loading...

Set Loading...