Two different known masses at rest on a frictionless surface are connected by a rope. A known force F is applied horizontally to mass 2 so that the boxes begin to accelerate in that direction. The acceleration of both masses together is given by a=F/(m1+m2) (I think they can be considered the same object because of the rope and the lack of friction). The only horizontal force acting on mass 1 is the pull coming from the tension in the rope. Therefore the tension T is given by T=m1*F/(m1+m2) (again, the acceleration is the same because of the rope and the lack of friction, I think).
Intuitively, this makes absolutely no sense to me, because the tension in the rope ends up being less than the force acting on mass 2. What's going on? Are you supposed to not count both masses in the calculation of acceleration? If so, why?