Hi Martin ..
Probably the RAM needs replacing or reseating...
"In addition to the beeps, on some computers the power LED will flash a corresponding number of times plus one. The LED will repeat the sequence after approximately a 5-second pause. The tones are only played once."
From here > Power On Self-Test Beep Definition - Part 2