I have the following problem:
Let $M$ be a connected closed $7$-manifold such that $H_1(M,\mathbb{Z}) = 0$, $H_2(M,\mathbb{Z}) = \mathbb{Z}$, $H_3(M,\mathbb{Z}) = \mathbb{Z}/2$. Compute $H_i(M,\mathbb{Z})$ and $H^i(M,\mathbb{Z})$ for all $i$.
I know that if $M$ is orientable, using Poincaré duality, the fact that $\chi(M)=0$ and the exact sequence for $H^i(M,\mathbb{Z})$ I can get the result.
But, I don't know how to prove that $M$ is orientable. I know that is the case if $M$ does not have $2$-torsion on $\pi_1(M)$, but I don't see why this $2$-torsion should descend to $H_1(M)$.
For any connected manifold $M$, there is a homomorphism $\pi_1(M)\to\mathbb{Z}/2$ which sends a loop to $0$ if going around the loop preserves orientation and sends the loop to $1$ if going around the loop reverses orientation. This homomorphism is trivial iff $M$ is orientable. Since $\mathbb{Z}/2$ is abelian, this homomorphism factors through the Hurewicz map $\pi_1(M)\to H_1(M)$. In particular, this means that if $H_1(M)=0$, the homomorphism is trivial so $M$ is orientable.
(By the way, the statement that $\chi(M)=0$ does not require $M$ to be orientable--you can prove it using mod $2$ Poincare duality, for instance.)