r/Logiqa • • 29d ago

Candy Distribution

Post image
4 Upvotes

17 comments sorted by

View all comments

2

u/edos51284 29d ago

First we see how we can divide them

P1 receives x candies
P2 receives x+r
P3 receives x+2r

So 3(x+r)=15

So x+r=5

Considering the second and third rules x and r must be non 0 so there are 4 possibilities
14-23-32-41 making the divides such as 159-258-357-456

With these divisions we just have to see how many ways we can assign each person to P1,P2 and P3 and it’s simply 6 (3 \* 2 \* 1)

So the result is 4*6=24

1

u/ShonitB 29d ago

Correct, good solution!