Closed form for position at time n is p + n * v + n * (n + 1) / 2 * a
We can then solve for n when all combinations of particles are at same
position. We can take this further but the max n over all n gives us an
upper bound on the number of iterations.