Paths and cylinders
For , the -Betti number of a chain complex (of modules over a ring ) is the rank
of its th homology group, regarded as an -module.
For a topological space, its -Betti number is that of its singular homology-complex
The alternating sum of all the Betti numbers is – if it exists – the Euler characteristic.