There are 4 quantum numbers for any given electron. In subshell 5p, the first two quantum number are 5 and 1. The last two quantum numbers may vary. The third quantum number varies between -1, 0 and 1. The last quantum number may be +1 or -1. Thus, the possible set of quantum numbers are 6.