p 3 efficient formula