The first thing that you have to do in order to write the electron configuration of an atom using noble gas shorthand notation is to identify the noble gas that comes immediately before your atom in the periodic table.
Once you do that, you use the electron configuration of that noble gas to replace the part that's identical for your atom.
The noble gas that comes before boron in the periodic table is helium,
This means that boron's noble gas shorthand notation will be
Neptunium has an atomic number equal to 93, which means that its electron configuration must account for 93 electrons. The noble gas that comes before neptunium in the periodic table is radon,
If radon's electron configuration accounts for 86 electrons, you only have to add 7 electrons outside of the noble gas core to get neptunium's configuration.
Therefore, the noble gas shorthand notation of neptunium is