On the Problem of Decomposing a Graph into n Connected Factors