For 2 people, you can give 5 to one, and 5 to the other, equally split from 10
For 3 people, you can give each person 3 whole candies, and 1/3 of the remaining 1 candy that is left to split between three people (3 tiny pieces for the 3 people
And for 4 people, you can give each one 2 whole candies, and 1/2 of the remaining candies to all four people (2 candies, when split in half is 4 in total) !!