The rated voltage of a single LED is 3V, which refers to direct current, while the commercial power is 220v, and the peak value is 311V..
Therefore, it is necessary to connect 100 LEDs in series.
In order to reduce flicker, a full-wave rectifier can be added to connect 100 LEDs.