A motor comprising: an annular stator core including an annular back yoke, and a plurality of teeth arranged side by side in a circumferential direction on an inner circumferential surface of the back yoke; 3n first coil groups, where n is an integer, arranged in the circumferential direction of the stator core at regular intervals, each of the first coil groups being constituted of a plurality of first coils that are respectively wound, in a concentrated manner, around the teeth arranged adjacent to one another, and that are excited by a first inverter configured to generate three-phase alternating currents including a first U phase current, a first V phase current, and a first W phase current; and 3n second coil groups, where n is an integer, arranged in the circumferential direction of the stator core at regular intervals, each of the second coil groups being constituted of a plurality of second coils that are respectively wound, in a concentrated manner, around the teeth arranged adjacent to one another in positions different from positions of the teeth around which the first coils are wound in a concentrated manner, and that are excited by a second inverter configured to generate three-phase alternating currents including a second U phase current, a second V phase current, and a second W phase current, wherein the first coils include a plurality of first U-phase coils (37Ua, 37Ub) excited by the first U-phase current, a plurality of first V-phase coils (37Va, 37Vb) excited by the first V-phase current, and a plurality of first W-phase (37Wa, 37Wb) coils excited by the first W-phase current, the second coils include a plurality of second U-phase coils (38Ua, 38Ub) excited by the second U-phase current, a plurality of second V-phase coils (38Va, 38Vb) excited by the second V-phase current, and a plurality of second W-phase coils (38Wa, 38Wb) excited by the second W-phase current, characterized in that the 3n first coil groups are constituted of a first UV coil group (G1UV) including the first U-phase coils (37Ua, 37Ub) and the first V-phase coils (37Va, 37Vb), a first VW coil group (G1VW) including the first V-phase coils (37Va, 37Vb) and the first W-phase coils (37Wa, 37Wb), and a first UW coil group (G1UW) including the first U-phase coils (37Ua, 37Ub) and the first W-phase coils (37Wa, 37Wb), and the 3n second coil groups are constituted of a second UV coil group (G2UV) including the second U-phase coils (38Ua, 38Ub) and the second V-phase coils (38Va, 38Vb), a second VW coil group (G2VW) including the second V-phase coils (38Va, 38Vb) and the second W-phase coils (38Wa, 38Wb), and a second UW coil group (G2UW) including the second U-phase coils (38Ua, 38Ub) and the second W-phase coils (38Wa, 38Wb). an annular stator core including an annular back yoke, and a plurality of teeth arranged side by side in a circumferential direction on an inner circumferential surface of the back yoke; 3n first coil groups, where n is an integer, arranged in the circumferential direction of the stator core at regular intervals, each of the first coil groups being constituted of a plurality of first coils that are respectively wound, in a concentrated manner, around the teeth arranged adjacent to one another, and that are excited by a first inverter configured to generate three-phase alternating currents including a first U phase current, a first V phase current, and a first W phase current; and 3n second coil groups, where n is an integer, arranged in the circumferential direction of the stator core at regular intervals, each of the second coil groups being constituted of a plurality of second coils that are respectively wound, in a concentrated manner, around the teeth arranged adjacent to one another in positions different from positions of the teeth around which the first coils are wound in a concentrated manner, and that are excited by a second inverter configured to generate three-phase alternating currents including a second U phase current, a second V phase current, and a second W phase current, wherein the first coils include a plurality of first U-phase coils (37Ua, 37Ub) excited by the first U-phase current, a plurality of first V-phase coils (37Va, 37Vb) excited by the first V-phase current, and a plurality of first W-phase (37Wa, 37Wb) coils excited by the first W-phase current, the second coils include a plurality of second U-phase coils (38Ua, 38Ub) excited by the second U-phase current, a plurality of second V-phase coils (38Va, 38Vb) excited by the second V-phase current, and a plurality of second W-phase coils (38Wa, 38Wb) excited by the second W-phase current, characterized in that the 3n first coil groups are constituted of a first UV coil group (G1UV) including the first U-phase coils (37Ua, 37Ub) and the first V-phase coils (37Va, 37Vb), a first VW coil group (G1VW) including the first V-phase coils (37Va, 37Vb) and the first W-phase coils (37Wa, 37Wb), and a first UW coil group (G1UW) including the first U-phase coils (37Ua, 37Ub) and the first W-phase coils (37Wa, 37Wb), and the 3n second coil groups are constituted of a second UV coil group (G2UV) including the second U-phase coils (38Ua, 38Ub) and the second V-phase coils (38Va, 38Vb), a second VW coil group (G2VW) including the second V-phase coils (38Va, 38Vb) and the second W-phase coils (38Wa, 38Wb), and a second UW coil group (G2UW) including the second U-phase coils (38Ua, 38Ub) and the second W-phase coils (38Wa, 38Wb).