Can you solve this?
+4
ExPatriot
coast2coastam
LargePeter
Admin
8 posters
Re: Can you solve this?
= 1
= 1
= 0
= 1
= 0
coast2coastam- Posts : 104
REPS : 692
Reputation : 120
Join date : 2024-09-12
Location : United States
Admin likes this post
Re: Can you solve this?
Is there going to be math quizzes everyday or only on certain days...
Ask for a fren
Ask for a fren
ExPatriot- Posts : 9
REPS : 153
Reputation : 151
Join date : 2024-09-12
wickedsmaht- Posts : 301
REPS : 1001940
Reputation : 395
Join date : 2024-09-11
Re: Can you solve this?
Here's a brain-teaser for you guys.
A pot contains 75 white beans and 150 black ones. Next to the pot is a large pile of black beans.
A miscer with too much time on his hands removes the beans from the pot according to the following autistic rule: He removes two beans from the pot at random. If at least one of the beans is black, he places it on the bean-pile and drops the other bean, no matter which color, back in the pot. If both beans are white, on the other hand, he discards both of them and removes one black bean from the pile and drops it in the pot.
At each turn of this procedure, the pot has one less bean in it. Eventually, just one bean is left in the pot. What color is it, and why?
A pot contains 75 white beans and 150 black ones. Next to the pot is a large pile of black beans.
A miscer with too much time on his hands removes the beans from the pot according to the following autistic rule: He removes two beans from the pot at random. If at least one of the beans is black, he places it on the bean-pile and drops the other bean, no matter which color, back in the pot. If both beans are white, on the other hand, he discards both of them and removes one black bean from the pile and drops it in the pot.
At each turn of this procedure, the pot has one less bean in it. Eventually, just one bean is left in the pot. What color is it, and why?
NEETvestor- Posts : 15
REPS : 170
Reputation : 130
Join date : 2024-09-12
legbroke likes this post
Re: Can you solve this?
NEETvestor wrote:Here's a brain-teaser for you guys.
A pot contains 75 white beans and 150 black ones. Next to the pot is a large pile of black beans.
A miscer with too much time on his hands removes the beans from the pot according to the following autistic rule: He removes two beans from the pot at random. If at least one of the beans is black, he places it on the bean-pile and drops the other bean, no matter which color, back in the pot. If both beans are white, on the other hand, he discards both of them and removes one black bean from the pile and drops it in the pot.
At each turn of this procedure, the pot has one less bean in it. Eventually, just one bean is left in the pot. What color is it, and why?
the last bean in the pot is probably to be a black bean.
Offwhitebrah- Posts : 159
REPS : 945
Reputation : 190
Join date : 2024-09-12
Re: Can you solve this?
NEETvestor wrote:Here's a brain-teaser for you guys.
A pot contains 75 white beans and 150 black ones. Next to the pot is a large pile of black beans.
A miscer with too much time on his hands removes the beans from the pot according to the following autistic rule: He removes two beans from the pot at random. If at least one of the beans is black, he places it on the bean-pile and drops the other bean, no matter which color, back in the pot. If both beans are white, on the other hand, he discards both of them and removes one black bean from the pile and drops it in the pot.
At each turn of this procedure, the pot has one less bean in it. Eventually, just one bean is left in the pot. What color is it, and why?
Suppose you get to the point where you reach 2 black beans and 2 white beans (drawing at least 1 black bean decreases the number of black beans, drawing 2 white beans increases the number of black beans while decreasing the number of white beans; cbf writing out the induction). Drawing 2 white beans would result in a pot of only black beans, with no chance of the population of white beans ever recovering. Drawing any quantity of black beans would decrease the quantity of one bean while maintaining that at least one black bean stays in the pot.
Eh, that was hard to think about, but I guess the solution is fairly simple in the end:
next step = 2 white beans drawn or (there is more than 1 black bean and 2 black beans are drawn) or 1 black and 1 white are drawn
black_bean_quantity[i+1] = (black_bean_quantity[i] + 1) V (black_bean_quantity[i] > 1 ^ black_bean_quantity[i] - 1) V black_bean_quantity[i]
The black beans therefore must always have a minimum quantity of 1, but this minimum does not hold for the white beans.
E: idk how tf to rep, but that was fun, thanks brah
legbroke- Posts : 1
REPS : 64
Reputation : 100
Join date : 2024-09-13
NEETvestor likes this post
Re: Can you solve this?
The answer is white. There's an odd number of white beans, and you can only remove them two at a time, so there has to be one white bean left over.
@Legbroke I like the way you approached it but it's really more of a trick question than a true logic puzzle
@Legbroke I like the way you approached it but it's really more of a trick question than a true logic puzzle
NEETvestor- Posts : 15
REPS : 170
Reputation : 130
Join date : 2024-09-12
Permissions in this forum:
You cannot reply to topics in this forum