The energy of one photon is given by:
\[
E = \frac{hc}{\lambda}
\]
where \( \lambda = 400 \, \text{nm} = 4.0 \times 10^{-7} \, \text{m} \).
Substituting the values:
\[
E = \frac{(6.626 \times 10^{-34}) \times (3.0 \times 10^8)}{4.0 \times 10^{-7}} = 4.97 \times 10^{-19} \, \text{J}.
\]
The power emitted is 1 microwatt = \( 1 \times 10^{-6} \, \text{W} \). The number of photons per second is:
\[
\text{Number of photons per second} = \frac{P}{E} = \frac{1 \times 10^{-6}}{4.97 \times 10^{-19}} = 2.01 \times 10^{12}.
\]
Since 1 second = 1 billion nanoseconds, the number of photons emitted per nanosecond is:
\[
\frac{2.01 \times 10^{12}}{10^9} = 2000.
\]
Thus, the number of photons emitted per nanosecond is \( 2000 \).