"Cogging is a function of the number of poles; the rotor experiences a regularly irregular rotational force due to the naturally varying intensity of the magnetic fields produced by the stator. The rotor is therefore constantly inconstant in its speed. There is a regularity to it that is said to be audible to some, and that's "cogging". The tendency can be ameliorated by using a stator with a lot of poles, the more the better."
This is only partially correct. Cogging is caused by the change in variable magnetic reluctance as the PM rotor passes the metal pole pieces of the stator. Adding more poles does not decrease the frequency or amplitude of cogging. If you turn the motor by hand you will feel the cogging and it "feels" finer with a 24 pole motor vs a 12 pole motor because the cogs are closer together. A 24 pole motor turns at half the speed of 12 pole motor so the frequency of the cogs is identical in both (120Hz). The magnitude of the vibration caused by cogging will be identical in motors with identical power ratings and the vibration is directly proportional to the power consumed by the motor. In most cases, the 24 pole "upgrade" motor is higher power than the 12 pole motor it replaces, so the 24 pole motor will actually produce more cogging than the 12 pole motor it replaces. This was investigated in the link below:
https://www.diyaudio.com/forums/analogue-source/309925-hurst-motors-300-rpm-vs-600-rpm-upgrade-myth....
Coreless motors have no metal pole pieces in the stator windings so they produce no cogging.