We have modeled the dynamical evolution of small stellar groups with N=6 components in the framework of the gravitational N-body problem, taking into account possible mergers of stars and ejection of single and binary stars. We study the influence of the initial global parameters of the systems (the mass spectrum, average size, virial factor) on their dynamical evolution. The distribution over states is analyzed for a time equal to 300 initial crossing times of the system. The parameters of binary and stable triple systems that form are studied, as well as the properties of ejected single and binary stars. The rate of dynamical evolution in both expanding and contracting groups is higher than in systems in a state of virial equilibrium. The dynamical evolution is more intense in the case of unequal masses than when the system initially consists of equal-mass stars. In most cases, the evolution of a group ends with the formation of a binary or stable triple system. The semimajor axes of the binaries range from several hundredths to several times the initial size of the system. The distribution of the eccentricities of the binaries formed is consistent with an f(e)=2e law. When the initial size of the group is small, the number of final binaries with large eccentricities, and also of stable triple systems with elongated inner-binary orbits, decreases due to merging. As a rule, stable triple systems are substantially hierarchical (the average ratio of the semimajor axes of the inner and outer binaries is 1: 20). On average, the eccentricities of the inner binaries exceed those of the outer binaries: they are equal to and , respectively. The velocities of ejected stars are from several to several tens of km/s, and tend to increase as the initial size of the system, and hence its virial coefficient, decreases.