The most general force that can fulfil the first part of Newton's Shell theorem (any spherically symmetric body affects external bodies as if its mass were concentrated at its centre) is an inverse square force $F(r) \sim r^{-2}$, an harmonic oscillator $F(r) \sim r$ or the sum of both types of forces $F(r) \sim A r + B r^{-2}$ .
Interestingly these two types of forces (inverse square and harmonic oscillator) are also the only two types of forces which fulfil Bertrand's theorem:
Among central force potentials with bound orbits, there are only two types of central force potentials with the property that all bound orbits are also closed orbits, the inverse-square force potential and the harmonic oscillator potential.
Both theorems seem to deal with completely different problems (closed bound orbits vs. the affect of spherical bodies on external bodies). But because the solution to both problems are the same type of forces I wonder if there might be a deeper connection between these two theorems. What could be the connection between Newtons Shell theorem and Bertrand's theorem?