Let be an integer . Let be a set of triples of nonnegative integers such that and if and are distinct triples in , then , and . Find the maximum value of .
Singapore International Mathematical Olympiad Committee National Team Selection Test
Solution
Suppose . Then . Likewise and . Therefore
The following shows the bound can be attained.
| n = 3k - 1 | n = 3k | n = 3k + 1 | ||||||
| 0 | 0 | 0 | ||||||
| 1 | 1 | 1 | ||||||
| ... | ... | ... | ... | ... | ... | ... | ... | ... |
| 0 | 0 | 1 | ||||||
| 0 | 0 | 0 | ||||||
| 1 | 1 | 1 | ||||||
| ... | ... | ... | ... | ... | ... | ... | ... | ... |
| 1 | 1 | 2 |
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.