Counting principles for access code and license plates.
1. In California, each automobile license plate consists of a single digit followed by 3 letters, followed by three digits. How many distinct license plates can be formed if first number cannot be zero and the three letters cannot form "GOD"?
2. A certain code is a sequence of 6 digits. What is the possibility of generating 6 digits and getting code consisting of 1, 2, 3....6 if each digit can be repeated?