Abstract
It is widely accepted that terrestrial planets are formed in2 stages; the coagulation of planetesimals,which results in the formation of Mars-sized protoplanets, and the accretion of the protoplanets. The accretion process takes place in a gas disk.As the bodies grow, a gravitational gas drag makes them migrate.Past N-body simulations did not include this effect for simplification.We would like to perform the N-body simulations on formation of protoplanets including the migrating effect, and see how it effects the formation of protoplanets.