The atomic number of an atom is equal to the amount of protons the atom has, and the mass number is equal to the sum of the protons and neutrons. Therefore:
let protons = p
let neutrons = n
let atomic mass = a
P+N=A
15+n=31
n=16
There are 16 neutrons in this atom.
(See attached for nuclear symbol)