A list you can check
Each round gives some number tiles and rules: how many tiles a sequence uses, whether a number may repeat, and sometimes a total. Changing the order makes a different sequence, so 1 2 and 2 1 both count.
Finding sequences at random leaves gaps. Instead, group them by their first number. Start with the smallest tile, then try each allowed next number in order, then each allowed third. When that group is done, move to the next first number.
Every sequence starts with exactly one number, so it belongs to exactly one group. When each group has been worked through in order, nothing is missing and nothing is counted twice.
1Fix the first number, smallest first.
2Try each allowed next number in order.
3Finish the group, then move to the next first number.
Three tiles that add up to 7
Tiles 1, 2, 3, 4. Use 3 tiles in each sequence. Do not repeat a number within a sequence. The numbers must add up to 7.
Starting with 1, the other two must add up to 6 without another 1: 2 and 4. That gives 1 2 4 and 1 4 2.
Starting with 2, the rest add up to 5: 1 and 4, so 2 1 4 and 2 4 1. Starting with 3, the rest must add up to 4, which needs 1 and 3, and 3 is already used: none. Starting with 4: 4 1 2 and 4 2 1.
Six sequences, and the groups show that none is missing.
Repeats allowed
Tiles 1, 2, 3, 4. Use 3 tiles in each sequence. Numbers may repeat, but matching numbers cannot be next to each other. The numbers must add up to 6.
Work through the groups in order, starting with 1.
Try it
How many sequences fit the rules?
- 6
- 7
Show the answer
7
Right. The group for 1 has 1 2 3, 1 3 2 and 1 4 1. The groups for 2 and 3 have two each: 2 1 3, 2 3 1, 3 1 2 and 3 2 1. Nothing starts with 4, because 4 1 1 puts the two 1s side by side. Seven in all.
Enable JavaScript to answer interactively and save your place.
Practice Find every possibility