Define the category $\mathcal{C}$ as follows. The objects are defined as $\text{Obj}(\mathcal{C})=\mathbb{Z}^+$, and a lone morphism $a\to b$ exists if and only if $a\mid b$. Otherwise $\text{Hom}(a,b)=\varnothing$. It can be shown that $\gcd(a,b)$ is a product in $\mathcal{C}$ and $\text{lcm}(a,b)$ is a coproduct in $\mathcal{C}$. My question is:
Can we recover the identity $$ab=\gcd(a,b)\text{lcm}(a,b)$$ from the properties of this category?
My initial thought was to denote a morphism $a\to ak$ by simply $k$ (or a triple $(a,k,ak)$ if we are concerned about disjointness), and then of course composition would just be multiplication: $k:a\to b,\ k':b\to c$, then $kk':a\to c$. Then, by the universal properties of products and coproducts, the diagram: $$ \require{AMScd} \begin{CD} \gcd(a,b)=d @>{a/d}>> a\\ @V{b/d}VV @VV{\ell/a}V \\ b @>>{\ell/b}> \ell=\text{lcm}(a,b) \end{CD} $$ commutes. But of course composition only yields $$\frac{a}{d}\frac{\ell}{a}=\frac{b}{d}\frac{\ell}{b}.$$ I'm also curious about other identities this category might "know about".
Edit: I'm thinking we could just show that $$\frac{ab}{\ell}$$ satisfies the universal property for products (or dually, that $ab/d$ is a coproduct) which would imply that $ab/\ell$ is isomorphic to $d$. By definition this implies that $d$ and $ab/\ell$ divide each other, and hence must be equal (hopefully that's correct). Of course, I am open to any other methods involving categorical machinery that I'm not familiar with (limits, pullbacks, etc.) and any other identities that $\mathcal{C}$ may be aware of.
The problem here is that $\mathcal C$ does not know what "multiplication" is. The entity $ab$ is entirely meaningless to it.
It is similarly meaningless to say that $\dfrac{ab}\ell$ is the GCD, because as far as $\mathcal C$ is concerned, this object is not connected to $a$, $b$ or $\ell$.
The only thing that $\mathcal C$ can hope to express things about is number-theoretic statements that are solely expressible in terms of divisibility (such as the $\gcd$ and $\rm lcm$).
However, a more interesting situation arises when we consider $\mathcal C$ as a (strictly) monoidal category with multiplication as its "tensor" product $\otimes$.
All of a sudden, we find ourselves in a situation where a meaningful "product" exists. We can even "divide", because given $a \mid c$, we can recover $b := \dfrac c a$ as the coproduct over those $d$ such that $a \otimes d \mid c$. Naturally, then, $a \otimes b = c$.
In standard categorical notation, we can then write the desired identity as: $$a \otimes b = (a + b) \otimes (a \times b)$$