The association constant of the complexes of adenosine triphosphate with magnesium, calcium, strontium, and barium ions.