Let $X$ be a finite CW complex and $\chi(X)$ its Euler characteristic (defined using integer coefficients). When is it true that $\chi(X)=\sum (-1)^i \dim H_i(X;F)$, where $F$ is a field?
I thought it would be true for all fields, but I noticed that for $X$ the Klein bottle and $F=\mathbb{Z}/2$ this is false! In fact Bredon (Geometry and topology) claims it to be true, but it isn't..
$\newcommand{\Z}{\mathbb{Z}}$The Klein bottle has the following integral homology groups: $$H_*(K; \Z) = (\Z, \Z \oplus \Z/2\Z, 0, 0, \dots).$$ This gives an Euler characteristic $\chi_\Z = 1-1 = 0$. Over $\Z/2\Z$, the universal coefficient theorem yields: $$H_*(K; \Z/2\Z) = (\Z/2\Z, \Z/2\Z^2, \Z/2\Z, 0, 0, \dots)$$ and so the Euler characteristic is $\chi_{\Z/2\Z} = 1-2+1 = 0$. This agrees with the previous computation.
In general, suppose $X$ is a space with finite integral homology (i.e. a finite number of nonzero homology groups, and these groups are all finitely generated), for example a finite CW-complex. Then its Euler characteristic is well-defined. Let $n$ be the top dimension of nonvanishing homology.