b>1</sub>-TR<sub>0</sub>,&nbsp;&nbsp;&nbsp;(4)</p><p>where g<sub>1</sub>=gcd(T,A) is the greatest common divisor of T and A, <span class="nowrap">t=T/g<sub>1</sub></span> and <span class="nowrap">a=A/g<sub>1</sub></span>. It follows that t and a are relatively prime. Since <span class="nowrap">mt-na</span> is an integer, the equation has a solution iff <span class="nowrap">60g<sub>1</sub> | (R<sub>1</sub>-TR<sub>0</sub>)</span>, i.e. <span class="nowrap">60g<sub>1</sub></span> divides <span class="nowrap">(