Attack the dropped weapon seems the right choice. I could work out the distance like this: 5' x Weapon Size x each 5 points by which my attack roll is greater than the weapon AC (10 + Size)
Where the weapon size: 4 if Diminutive (Dagger), 2 if Tiny (Mace), 1 if Small (Scimitar), 1/2 if Medium...