Calculation of resonances of HCO by the artificial boundary inhomogeneity method