Calculate the current from 9V example 9V-3V = 6V ||| I = V/R = 6/82 =.07317A = 73ma

Next calculate for 230 VAC x 1.414 = 325 VDC peak less the 3V LED is 322 VDC assuming a 5cent 1N4006 diode prevents LED destruction when the power line AC reverses R = V/I = 322 / .07317 = 4,400 ohms.

Power = V*I = V*V/R = I*I*R = (73ma)^2 x 4.4K = 23 watts which falls to 15 Watts because of the 1N4006 diode preventing inverse current half the time.

Well, you can easily buy an LED that blinks.

Calculate the current from 9V example 9V-3V = 6V ||| I = V/R = 6/82 =.07317A = 73ma

Next calculate for 230

VACx 1.414 =325 VDC peakless the 3V LED is 322 VDC assuming a 5cent 1N4006 diode prevents LED destruction when the power line AC reverses R = V/I = 322 / .07317 =4,400 ohms.Power = V*I = V*V/R = I*I*R = (73ma)^2 x 4.4K = 23 watts which falls to

15 Wattsbecause of the1N4006 diodepreventing inverse current half the time.A

Here is the minimal circuit you want and one I would build myself.

This killer circuit is extremely dangerous to a beginner

YOUBUT I have an engineer's understanding and will work with one hand in my pocket to

Avoid a 300 volt ShockpushingaLethal current across my chest !!!Use a cheap wall power supply - even a phone charger should do it.

Need more details about the LED you intend to use Crystal ball broken.