In this paper, a light-emitting diode (LED) driver with a high power factor (PF) and low-frequency current ripple suppression over a wide input range is presented, and a flyback converter is designed to operate in the discontinuous conduction mode (DCM), with a digital controller used to keep the duty cycle constant for half of the utility cycle under a fixed load and input voltage. This method ensures that the input current is in phase with the universal input voltage, thus achieving a high power factor without utilizing feedforward control. Furthermore, on the secondary side, the time of the zero point of the utility voltage can be attained so that the duty cycle can be updated at this time. In addition, a simple auxiliary circuit is connected parallel to the output side to absorb the excess output current of the flyback converter or to release the current to the load to make up for the shortage of the output current of the flyback converter so that the low-frequency ripple of the output current can be inhibited. There are only two current-detecting resistors used in this study: one is the output current-sensing resistor of the flyback converter, and the other is the output current-sensing resistor of the auxiliary circuit.