we have
Multiply them together you get
But since all 4 characters cannot be the same, we subtract 8 from 512
answer: 504 combinations
5.8m questions
7.5m answers