Fix an integer n. Can you find two finite CW-complexes X and Y which 


\* are both n connected,


\* are not homotopy equivalent, yet


\* $\pi\_q X \approx \pi\_q Y$ for all $q$.


In [Are there two non-homotopy equivalent spaces with equal homotopy groups?](https://mathoverflow.net/questions/3540/) some solutions are given with n=0 or 1. Along the same lines, you can get an example with n=3, as follows. If $F\to E\to B$ is a fiber bundle of connected spaces such that the inclusion $F\to E$ is null homotopic, then there is a weak equivalence $\Omega B\approx F\times \Omega E$. Thus two such fibrations with the same $F$ and $E$ have base spaces with isomorphic homotopy groups.


Let $E=S^{4m-1}\times S^{4n-1}$. Think of the spheres as unit spheres in the quaternionic vector spaces $\mathbb{H}^m, \mathbb{H}^n$, so that the group of unit quarternions $S^3\subset \mathbb{H}$ acts freely on both. Quotienting out by the action on one factor or another, we get fibrations
$$ S^3 \to E \to \mathbb{HP}^{m-1} \times S^{4n-1},\qquad S^3\to E\to S^{4m-1}\times \mathbb{HP}^{n-1}.$$
The inclusions of the fibers are null homotopic if $m,n>1$, so the base spaces have the same homotopy groups and are 3-connected, but aren't homotopy equivalent if $m\neq n$.


There aren't any n-connected lie groups (or even finite loop spaces) for $n\geq 3$, so you can't push this trick any further. 


Is there any way to approach this problem? Or reduce it to some well-known hard problem?


(Note: the finiteness condition is crucial; without it, you can easily build examples using fibrations of Eilenberg-MacLane spaces, for instance.)



Are there pairs of highly connected finite CW-complexes with the same homotopy groups?
Here is a method for constructing examples. If a fiber bundle $F \to E \to B$ has a section, the associated long exact sequence of homotopy groups splits, so the homotopy groups of $E$ are the same as for the product $F \times B$, at least when these spaces are simply-connected so the homotopy groups are all abelian. To apply this idea we need an example using highly-connected finite complexes $F$ and $B$ where $E$ is not homotopy equivalent to $F \times B$ and the bundle has a section.


The simplest thing to try would be to take $F$ and $B$ to be high-dimensional spheres. A sphere bundle with a section can be constructed by taking the fiberwise one-point compactification $E^\bullet$ of a vector bundle $E$. (This is equivalent to taking the unit sphere bundle in the direct sum of $E$ with a trivial line bundle.) The set of points added in the compactification then gives a section at infinity. For the case that the base is a sphere $S^k$, take a vector bundle $E\_f$ with clutching function $f : S^{k-1} \to SO(n)$ so the fibers are $n$-dimensional. Suppose that the compactification $E\_f^\bullet$ is homotopy equivalent to the product $S^n \times S^k$. If $n > k$, such a homotopy equivalence can be deformed to a homotopy equivalence between the pairs $(E\_f^\bullet,S^k)$ and $(S^n \times S^k,S^k)$ where $S^k$ is identified with the image of a section in both cases. The quotients with the images of the section collapsed to a point are then homotopy equivalent. Taking the section at infinity in $E\_f^\bullet$, this says that the Thom space $T(E\_f)$ is homotopy equivalent to the wedge $S^n \vee S^{n+k}$. It is a classical elementary fact that $T(E\_f)$ is the mapping cone of the image $Jf$ of $f$ under the $J$ homomorphism $\pi\_{k-1}SO(n) \to \pi\_{n+k-1}S^n$. The $J$ homomorphism is known to be nontrivial when $k = 4i$ and $n\gg k>0$. Choosing $f$ so that $Jf$ is nontrivial, it follows that the mapping cone of $Jf$ is not homotopy equivalent to the wedge $S^n \vee S^{n+k}$, using the fact that a complex obtained by attaching an $(n+k)$-cell to $S^n$ is homotopy equivalent to $S^n \vee S^{n+k}$ only when the attaching map is nullhomotopic (an exercise). Thus we have a contradiction to the assumption that $E\_f^\bullet$ was homotopy equivalent to the product $S^n \times S^k$. This gives the desired examples since $k$ can be arbitrarily large.


These examples use Bott periodicity and nontriviality of the $J$ homomorphism, so they are not as elementary as one might wish. (One can use complex vector bundles and then complex Bott periodicity suffices, which is easier than in the real case.) Perhaps there are simpler examples. It might be interesting to find examples where just homology suffices to distinguish the two spaces.


