TeX source:
a_{\mathrm{i}}\left(\mathrm{N}-\mathrm{e}_{\mathrm{i}}\right)