A PAN number is a 10-digit alphanumeric number. The first five digits of a PAN number are the Permanent Account Number (PAN) code. The next four digits are the random number. The last digit is the check digit.