In an atom, the total number of electrons having quantum numbers n=4,|ml|=1 and ms=−12 are
n=4,l=0,1,2,3
For l=0⇒|ml|≠1(ml=0)
For l=1⇒ml=−1,0,+1⇒2 electrons with same spin. (for |ml|=1)
For l=2⇒ml=−2,−1,0,+1,+2⇒ 2 electrons with same spin for |ml|=1
For l=3⇒ml=−3,−2,−1,0+1+2,+3⇒ 2 electrons with same spin. |ml|=1
Total electons = 6