All
transponder codes are four digits, each digit ranging from
0 to 7. This is
octal notation—a base-8 number system used for historical and technical reasons in aviation. You will never see a
transponder code with an 8 or 9 in it. Examples of valid codes: 1234, 7000, 7700, 7600, 7500. An example of an invalid code: 1289 (contains 8 and 9).