AoPSWiki
Do you have what it takes to be the next brilliant trader, researcher, or developer at Jane Street Capital? Find out in the Careers in Mathematics Forum.

1990 USAMO Problems/Problem 1

From AoPSWiki

Problem

A certain state issues license plates consisting of six digits (from 0 through 9). The state requires that any two plates differ in at least two places. (Thus the plates \boxed{027592} and \boxed{020592} cannot both be used.) Determine, with proof, the maximum number of distinct license plates that the state can use.

Solutions

Consider license plates of n digits, for some fixed n, issued with the same criteria.

We first note that by the pigeonhole principle, we may have at most 10^{n-1} distinct plates. Indeed, if we have more, then there must be two plates which agree on the first n-1 plates; these plates thus differ only on one digit, the last one.

We now show that it is possible to issue 10^{n-1} distinct license plates which satisfy the problem's criteria. Indeed, we issue plates with all 10^{n-1} possible combinations for the first n-1 digit, and for each plate, we let the last digit be the sum of the preceding digits taken mod 10. This way, if two plates agree on the first n-1 digits, they agree on the last digit and are thus the same plate, and if two plates differ in only one of the first n-1 digits, they must differ as well in the last digit.

It then follows that 10^{n-1} is the greatest number of license plates the state can issue. For n=6, as in the problem, this number is 10^5. \blacksquare


Alternate solutions are always welcome. If you have a different, elegant solution to this problem, please add it to this page.

See also

1990 USAMO (Problems • Resources: AoPS | ML)
Preceded by
First question
1 2 3 4 5 6 Followed by
Problem 2
Add a glimpse of the Art of Problem Solving Forum to your own site!
Click here for details!
© Copyright 2008 AoPS Incorporated. All Rights Reserved. • FoundationPrivacyContact Us