Different output between Arduino Mini 05 and Arduino Mega 2560

Davide_sd:
don't ask me why the designer didn't put pwm pins consecutively...

Because they're not consecutive on the Mega328 chip.