Look right underneath where your question is posted. Click on the "cite" link. It will pop up a text box, from which you can copy citation data for this post in either bibtex or amsrefs format. So you can directly cite the MO thread.