I think that the confusion comes from the gear diameters specified is the OD of the , gear. The pitch diameter, where the teeth touch is different.
The OD of a gear is equal to (N+2) / DP and the Pitch diameter is equal to N X the DP, where N is the number of teeth and DP is the diametrical...