Define $d:\mathbb{Z}\times\mathbb{Z}\rightarrow \mathbb{R}$ by $\displaystyle d(m,n)=\frac{1}{\sup\{l\in\mathbb{N}: l!\text{ divides }\lvert m-n\rvert\}}$ with the obvious interpretation that when the supremum doesn't exist we define $d(m,n)=0$.
I'm having a bit of difficulty trying to show that the triangle inequality holds. Can someone give me some intuition on what direction I should head towards?
Thoughts: To show $d(m,n)\le d(m,k)+d(k,n)$, if one of either $\lvert m-k\rvert$ or $\lvert k-n\rvert$ odd then we're done. So we only need to consider the case where all of them are even. But I don't quite know how this helps.
Also as a bit of an aside, how is this metric useful? It was just an example given in the notes and the details were left as an exercise.
If there are no other answers to be posted then I'll accept this as an answer. I usually make it my policy to wait at least 2 days until I accept an answer.
– tcmtan Jul 24 '14 at 01:58