The GCD proof on the maths reference desk 

I wanted to reiterate my thanks for your help regarding my recent question on the maths reference desk. I am a PhD student, and have an application of the result in mind, which my thesis supervisor has asked me to write up. I'd like to reference you for the contribution of your argument: is there a way which you would prefer to be referenced? Thanks again,