If the amount of O-atoms =100
then, the amount of Ni-atoms =98
Let Ni2+=x, then Ni3+=98−x
Total charge on 100,O−2 ions =200
Total charge on Ni2+ and Ni3+=2x+3(98−x)
For neutrality, 2x+3(98−x)=200 or, x=94. % of N12+=9894×100=96%
and % of Ni3+=100−96=4%.