When n=2 this means that the electron is located on the second energy level. We then calculate the momemtum quantum number which is n-1. In this case the momentum quantum number is 1 (l=1). The magnetic quantum number ml is given by -l to +l. Therefore when n=2, the ml= -1,0,+1
When n=6 and l=5, ml would have values -5 to +5.
ml values are: -5,-4,-3,-2,-1,0,1,2,3,4,5