Decimal Counter with PWM
As your diagram 2 shows, you will not get PWM from a 4017. You will get a series of individual pulses.

You can achieve what you require by ANDing each output with the clock signal.







simulate this circuit &ndash; Schematic created using CircuitLab