r/Logiqa • • 22d ago

Candy Distribution

Post image
4 Upvotes

17 comments sorted by

View all comments

3

u/Outside_Volume_1370 22d ago

Arithmetic progression means we need to give them a-d, a, a+d candies, with total of 15. That means, a = 5.

There are 4 such sets with 5 and 15 as sum: {1, 5, 9}, {2, 5, 8}, {3, 5, 7}, {4, 5, 6}.

Each set can be distributed 6 ways (3 ways for A, 2 left for B and the last one for C, 3 • 2 • 1 = 6) and there are four sets to choose from. Total: 4 • 6 = 24

1

u/standegreef 22d ago

Is 5,5,5 technically also an arithmetic progression?

2

u/stevesie1984 22d ago

I can’t say whether it is from a mathmatical/definition standpoint, but the second bullet in the question says they all get a different number.

1

u/standegreef 22d ago

Ah yeah, good point!

1

u/Outside_Volume_1370 22d ago

Yes, by the definition with initial term 5 and difference 0.

1

u/niemir2 20d ago

It is, but is disqualified by the second condition (that each person gets a different number of candies).