I'm working on problem 16 in section 4.1 of Hatcher's Algebraic Topology book. I really have no ideas so far:
Show that a map $f: X \to Y$ between connected CW complexes factors as a composition $X \to Z_n \to Y$ where the first map induces isomorphisms on $\pi_n$ for $i\le n$ and the second map induces isomorphisms on $\pi_n$ for $i\ge n+1$.
Any help is appreciated.