For n=4, first we have 4 values of l=0,1,2,3. Now, for each value of l, we will have different values of m.
So for l=0,m=0,forl=1,m=−2,−1,0,1,2.
Forl=3,m=−3,−2,−1,0,1,2,3.
So counting each m values, total values for n=4is1+3+5+7=16
Hence, 16 is the answer.