e/o = even/odd electrons dbr = double bonds and rings
If the trial formula is CcHhOoNn then the number of double bonds and rings is (2c-h+n+2)/2. For MH+ parent ions: e/o should be even and for the unprotonated M add 0.5 to dbr.
Colby College Chemistry, 1/19/2016