How many possible codes can the lock have? How many lottery results are possible? Learn about all this and more!