How do I know if all the digits of a 7-digit number are different? For instance, I am generating a 7-digit random number and this number is 7493759. This number can be 6,8 o