Theoretical investigation of single dopant in core/shell nanocrystal in magnetic field