We consider security codes consisting of four digits. We say that one code dominates another code if each digit of the first code is at least as large as the corresponding digit in the second code. For example, dominates , because , , , and . We would like to assign a colour to each security code from to , but if one code dominates another code then the codes cannot have the same colour.
What is the minimum number of colours that we need in order to do this?
Dutch Mathematical Olympiad
Solution
Want a route through all this instead of an archive? The track
puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.