Say I have two rational numbers $a/b$ and $c/d$ where $a,b,c,d$ are integers and $a<b$ and $c<d$, and $a$ coprime with $b$, and $c$ coprime with $d$. Assume $b,d$ are free and not necessarily coprime, and also that $d>b$ with $d$ not a power of $b$. So to add the fractions we can do $ad/bd + cb/bd$. Then $ad, cd$ are clearly not coprime with $bd$. I want to show that there exists integers $i,j$ such that $iad + jcb$ is coprime with $bd$.
I tested it on a computer and it seems true for $a,b,c,d$ less than 100. I think I can prove it, but before I spend more time on it I thought to ask if the answer already exists, or this is an instance of a well-known number theoretic result.