 The formula for genus is
where formula_2 indicates the set of surface-points each of which has "i" adjacent points on the surface (Chen and Rong, ICPR 2008).If "M" is simply connected, i.e., formula_3, then formula_4.