Why couldn't they have shared the same number? The C420 had "DH" reporting marks, the U18B had "MEC" reporting marks. So they had the same number but different reporting marks -- no conflict.
Pan Am Railways — Boston & Maine/Maine Central — Delaware & Hudson
Central Maine & Quebec/Montreal, Maine & Atlantic/Bangor & Aroostook
Providence & Worcester — New England — GE Locomotives