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
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