4
$\begingroup$

In the course of my work, I encountered the following sum ($(x,y)$ stands for the GCD of $x$ and $y$):

$$L(Q)=\sum_{\substack{\delta_1,\delta_2\leq Q\\\delta_1\equiv0\ (a)\\\delta_2\equiv0\ (b)}}\frac{1}{(\delta_1,\delta_2)},$$

where $a$ and $b$ may get as large as $Q^{\frac{1}{2}}$. Heuristics suggest that it may be $O(\frac{Q^{2}}{ab})$, but I am worried this might be horribly wrong. In any case, what I would like the know is an asymptotic for this sum. Any help would be much appreciated.

$\endgroup$
3
  • $\begingroup$ Please use a high-level tag like "nt.number-theory". I added this tag now. $\endgroup$
    – GH from MO
    May 27, 2023 at 9:44
  • 1
    $\begingroup$ Cheers for that, new to the site. $\endgroup$
    – Tom Glover
    May 27, 2023 at 13:37
  • $\begingroup$ The sum is trivially at most $Q^2/(ab)$, since each term is at most $1$, and there are at most $Q/a$ choices for $\delta_1$, and at most $Q/b$ choices for $\delta_2$. With Mellin transform techniques it should be relatively straightforward to prove that the sum is asymptotically $c_{a,b}Q^2$ with a constant $c_{a,b}$ depending on $a$ and $b$. $\endgroup$
    – GH from MO
    May 27, 2023 at 14:11

2 Answers 2

4
$\begingroup$

Your sum is \begin{align*} L(Q)&=\sum _{d\leq Q}\frac {1}{d}\sum _{\delta _1,\delta _2\leq Q/d\atop {a|d\delta _1\atop {b|d\delta _2\atop {(\delta _1,\delta _2)=1}}}}1=\sum _{dh\leq Q}\frac {\mu (h)}{d}\sum _{\delta _1,\delta _2\leq Q/dh\atop {a|dh\delta _1\atop {b|dh\delta _2}}}1\\ &=\sum _{dh\leq Q}\frac {\mu (h)}{d}\sum _{\delta _1\leq Q/[a,dh]\atop {\delta _2\leq Q/[b,dh]}}1=Q^2\sum _{dh\leq Q}\frac {1}{d[a,dh][b,dh]}+\mathcal O\left (Q\sum _{dh\leq Q}\frac {\mu (h)}{d^2h}\right )\\ &=\frac {Q^2}{ab}\sum _{dh\leq Q}\frac {\mu (h)(a,dh)(b,dh)}{d^3h^2}+\mathcal O\left (Q\right )\\ &=\frac {Q^2}{ab}\sum _{dh=1}^\infty \frac {\mu (h)(a,dh)(b,dh)}{d^3h^2}+\mathcal O\left (Q\right )=:\frac {c_{a,b}Q^2}{ab} \end{align*}

$\endgroup$
9
  • $\begingroup$ See my comment below the original post. $\endgroup$
    – GH from MO
    May 27, 2023 at 14:11
  • 1
    $\begingroup$ was too proud to delete:D [but will do so if the new version doesn't help anything:)] $\endgroup$
    – tomos
    May 27, 2023 at 14:46
  • $\begingroup$ Can't $c_{a,b}/(ab)$ just be written as $c_{a,b}$? $\endgroup$ May 28, 2023 at 1:10
  • $\begingroup$ yes. more worrying is the tail end error $\endgroup$
    – tomos
    May 28, 2023 at 6:30
  • 2
    $\begingroup$ I feel its worth noting that $c_{a,b}$ can be written as $\sum_{n=1}^{\infty}\frac{\mu(n)\varphi(n)(a,b)(b,n)}{n^{3}}$. $\endgroup$
    – Tom Glover
    May 28, 2023 at 8:35
2
$\begingroup$

Define $f(n)=\frac{1}{n}\prod_{p\mid n}(1-p)$ now $\sum_{d\mid n}f(d)=\frac{1}{n}$ thus $\sum_{d=1}^{\infty}f(d)[d\mid \delta_1][d\mid \delta_2]=\frac{1}{(\delta_1,\delta_2)}$ which means $\sum_{d=1}^{\infty}f(d)[d\mid \delta_1][d\mid \delta_2][a\mid \delta_1][b\mid \delta_2]=\frac{1}{(\delta_1,\delta_2)}[a\mid \delta_1][b\mid \delta_2]$ using inversion brackets and therefore we have $L(Q)=\sum_{\delta_2\leq \frac{Q}{b}}\sum_{\delta_1\leq \frac{Q}{a}}\sum_{d=1}^{\infty}f(d)[d\mid a\delta_1][d\mid b\delta_2]$ thus if we let $d_m=d/(m,d)$ for all $m\in\mathbb{N}$ then because $d\mid mk$ if and only if $d_m\mid k$ we must have that $\small L(Q)=\sum_{\delta_2\leq \frac{Q}{b}}\sum_{\delta_1\leq \frac{Q}{a}}\sum_{d=1}^{\infty}f(d)[d_a\mid \delta_1][d_b\mid \delta_2]=\sum_{d=1}^{\infty}f(d)\left(\sum_{\delta_1\leq \frac{Q}{a}}[d_a\mid \delta_1]\right)\left(\sum_{\delta_2\leq \frac{Q}{b}}[d_b\mid \delta_2]\right)$ which means $L(Q)=\sum_{d=1}^{\infty}f(d)\left(\sum_{\delta_1\leq \frac{Q}{d_a a}}1\right)\left(\sum_{\delta_2\leq \frac{Q}{d_bb}}1\right)=\sum_{d=1}^{\infty}f(d)\lfloor \frac{Q}{d_a a}\rfloor\lfloor \frac{Q}{d_a b}\rfloor$ or equivalently stated $L(Q)=\sum_{d=1}^{\infty}f(d)\left\lfloor\frac{(a,d)}{a}\frac{Q}{d}\right\rfloor \left\lfloor\frac{(b,d)}{b}\frac{Q}{d}\right\rfloor=\sum_{d\leq Q}f(d)\left\lfloor\frac{(a,d)}{a}\frac{Q}{d}\right\rfloor \left\lfloor\frac{(b,d)}{b}\frac{Q}{d}\right\rfloor$ which means if we let $\alpha(d)=\left\{\frac{(a,d)}{a}\frac{Q}{d}\right\}$ and $\beta(d)=\left\{\frac{(b,d)}{b}\frac{Q}{d}\right\}$ then $\alpha(d),\beta(d)\in [0,1]$ thus:

$$L(Q)=\sum_{d\leq Q}f(d)\left(\frac{(a,d)}{a}\frac{Q}{d}-\alpha(d)\right)\left(\frac{(b,d)}{b}\frac{Q}{d}-\beta(d)\right)\\=\sum_{d\leq Q}f(d)\frac{(a,d)(b,d)}{ab}\frac{Q^2}{d^2}-\sum_{d\leq Q}f(d)\frac{Q}{d}(\frac{(a,d)\beta(d)}{a}+\frac{(b,d)\alpha(d)}{b})+\sum_{d\leq Q}f(d)\alpha(d)\beta(d)\\\small=\frac{Q^2}{ab}\sum_{d=1}^{\infty}\frac{f(d)(a,d)(b,d)}{d^2}+\mathcal{O}\left(\frac{Q}{ab}(a+b)\log(Q)\right)=\frac{Q^2}{ab}\sum_{n=1}^{\infty}\frac{f(n)(a,n)(b,n)}{n^2}+\mathcal{O}\left(\frac{Q^{2}}{ab}\frac{\log(Q)}{\sqrt{Q}}\right)$$

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.