It's time to get acquainted (by a tour de force) with a little bit of homological algebra (see as well the section called “Homological Algebra”). Chain complexes form a category. See [Mas91] and [Hat02] we look at a sequence of homomorphisms of Abelian groups
with
For example a torus (one vertex, three edges and two 2-simplices are sufficient for a basic construction) has got (as integral homology)
The n-th Betti number (see also Chapter 14, Algebra) is the rank of the n-th homology group. For a closed, orientable surface of genus g, the Betti numbers are p0 = 1, p1 = 2g, and p2 = 1. The Euler characteristic can be expressed in terms of homology (Equation 9.2, “Euler Characteristic and Betti Numbers”).
You are invited to read the literature about cell structures, simplicial cohomology and manifolds to discover that