P-47M was a D-40, fuselage and wings, but with super-powered engine. THe N has different wings, squared wingtips, a million gallons of gas in the wings.
I don't recall, but the -Ms may have had the wing racks removed for speed, as well.
It would be like calling a P-38J a P-38L. Similar, but different.