The association constant of a flexible molecule and a single atom: Theory and simulation