This activity produced some good solutions.

Pooja at at the International School in the Seychelles sent this message:

To get my answer I used the two times table. When there were two kids my answer was three. Then I used the five times table when three more kids came along. I said that if each child gets one and two leftover it must mean that the answer must be seven.

Felix from Henleaze Junior wrote:

First I worked out that there were two children and one lolly left over. So I tried 3. But then I worked out that there were then three more children which made 5 so it couldn't be 3. Then I worked out that there were two remaining when 3 more people came and I added the total number of people to the two remaining lollies and got 7. Then I went back to the two people and checked if it would work with the two people and it did, so one possible answer is 7.

But after that I figured out that if you add 10 it would mean that there were 17 lollies and it will still work because 2 people would then have 8 each and one remaining and 5 people would have 3 each and two remaining.

Adelle and Amanie, also at the International School in the Seychelles wrote:

With two people it must be odd.

With five people, we know 7 works.

We tried adding 5 but it came to an even number. Then we added 10, it always works.

These numbers work with 2 people: 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61

These numbers work with 5 people and 2 people: 7, 17, 27, 37, 47, 57, 67, 77, 87, 97, 107, 117, 127, 137, 147, 157, 167, 177, 187, 197, 207, 217

Children from Culgaith School in the UK sent in the following:

Nathan said that the answer has to be an odd number as it is shared between two children with 1 left over. We found the first solution was 7 - Emma said this. We then tried to find out if there were any other answers. We tried 8 - but then realised that this was an even number so we looked at 9 - too many left over. We looked at 11 - this time too few left over.

Alex suggested 17 - why did he choose this? He said the numbers were "basically the same". Mr Dodd said this wasn't quite true as he would rather have 17 chocolate bars than 7!

Millie said that the 10 lollipops different between 7 and 17 would give each of the two children two lollipops each and so 17 would work. We checked this out and it did! We then used the number square to show us all the solutions up to 100 - they all end in "7". We worked out that this was because the tens digit would alway share out evenly between 5 children and the 7 would give each child 1 lollipop and have two left over.

Poppy from Steeple Morden Primary wrote:

If the two children end up with one lolly it must be an odd number of lollies. Then 3 more children come making the total number of children 5. Say they had 1 lolly each when they shared them, the number of lollies would be seven because 1 times 5 is 5 add on 2 for the left over ones and it makes seven.

If we carry this on to 10 lollies each it shows:

1 lolly each- 7 lollies

2 lollies each- 12 lollies

3 lollies each- 17 lollies

4 lollies each- 22 lollies

5 lollies each- 27 lollies

6 lollies each- 32 lollies

7 lollies each- 37 lollies

8 lollies each- 42 lollies

9 lollies each- 47 lollies

10 lollies each- 52 lollies

You can see here that it goes up in 5s each time. The answers that are possible are the ones where the children have an odd number of lollies.

Because they start off with 2 children and they share them out equally you have to divide by 2 but so that it does't go in exactly you have 1 left over which means that it has to be an odd number. But when they have just finished sharing them out properly 3 more children come along making the total of children go up to 5, so now you have to divide by 5 so it can't be any thing ending in 9, 3, 5 or 1 so that only leaves 7.

Phoebe and Alice from Cambridge used a 100 square to help solve the problem. Here is Alice's square:

It is most probable that they will have less than 27 lollies in their bag but this is not certain they could have 5007 lollies in the bag and 1001 each leaving two left over!

Thank you Poppy. I like the way you have thought about the practical side of the problem at the end and have decided how many lollies the children are likely to have had.

Deidre at Calgary Science School in Canada had a really lovely suggestion. Her Grade 4 class approached a similar problem they called The Candy Problem. They posted a video of how students arrived at the solutions. Thank you so much for that it's certainly worth watching!

Stella from Chigwell School in England wrote a very thorough account of the challenge:

Because they start off with 2 children and they share them out equally you have to divide by 2 but so that it does't go in exactly you have 1 left over which means that it has to be an odd number. But when they have just finished sharing them out properly 3 more children come along making the total of children go up to 5, so now you have to divide by 5 so it can't be any thing ending in 9, 3, 5 or 1 so that only leaves 7.

Phoebe and Alice from Cambridge used a 100 square to help solve the problem. Here is Alice's square:

And here is Phoebe's:

You can see that they have shaded all the odd numbers in brown and put a green cross through all the numbers that have 2 left over when shared between 5. They conclude that the number of lollies in the bag could be:

... any number that ends with a 7: 7, 17, 27, 37, 47, 57, 67, 77, 87, 97 ...Well done both of you - you have shown how the number square is a very useful tool.

Thank you for all these solutions which were all thought about in a slightly different way. There usually is a variety of possible ways of approaching problems.