Ok, first caveat is that I have not read all 26 pages of responses on this thread.
Having found my A1255 not pairing today, with five green flashes on poweron only once, I reinserted the batteries.
This allowed another five green flashes on poweron, but nothing else. Ok, batteries dead.
Swapped one battery with another holding 1.5V, as new. Now pairing works.
Measured three original batteries. All at about 1.05V.
You could conclude that the keyboard won't operate at less than 3V potential. If so, that is something to consider when we are terming batteries in a BT keyboard as "dead". You might be able to use those batteries someplace else.