The N-Body Problem is the mathematical/dynamical problem of describing the course of multiple celestial bodies interacting via Gravity (or more generally, via any type of force interacting between the bodies). The term is generally used for the "difficult" case of N greater than two, since the Two-body Problem has its own specific analytical solution. Three or more bodies generally requires the use of a Taylor Series or N-Body Simulation, i.e., calculating the motions in small steps.
The case of interacting orbits has some specialized solutions: some generalized information can be calculated such as whether the orbits are likely to remain stable (a planet thrown out of the system would imply instability, for example) or become chaotic, i.e., Perturbation Theory.
The Jacobi Integral is another method addressing Three-body Problems.
The Million-body Problem is currently (2018) barely within reach of (pure) n-body simulations but remains impractical. A specific reason for interest is that a million is the Order Of Magnitude of sizeable Globular Clusters. Ways have been devised to make it more practical by incorporating various Monte Carlo Methods, one approach being to use the MC method for Weak Interactions (i.e., that only slight perturbations in velocity) but simulate the Strong Interactions in detail. galaxies such as the Milky Way have far more stars and are not close to being simulated in that manner. Open Clusters are generally smaller, on the order of 10,000 stars, and can be simulated.