proof by letters with characters

56 Views Asked by At

An authentication system accepts passwords that are composed of lowercase letters from a to z and digits from 0 to 9. Prove that, in this system, given any set of 3000 passwords, there must be at least three passwords that begin with the same pair of characters (in the same order), for example, st4fk7 and std3gy37.

1

There are 1 best solutions below

0
On

Create a bin for every possible beginning of a password, from "aa", "ab" all the way to "99". Then throw each of the present passwords into its bin.