Another gcd problemPillai's arithmetical function upper boundShow $displaystylesum_k=N_1^N_2-1 k^s_0left(frac1k^s-frac1(k+1)^sright) rightarrow0$ as $N_1, N_2 rightarrow infty$Prove that if $gcd(a,b)=1$ then $gcd(ab,c) = gcd(a,c) gcd(b,c)$At most one divisor in $[sqrtn,sqrtn+sqrt[4]n]$If $gcd(a,b)=d$, then $gcd(a/d, b/d)=1$Question on proof of $gcd(a,b)$ is the smallest positive linear combinationProve that $a^n bmod n$ congruent to $a^n - phi(n) bmod n$Since $zeta(1) neq 1$, does this mean that $zeta$ is not multiplicative?Proving a complex inequality using Cauchy Schwartz inequality

What is a word for the feeling of constantly wanting new possessions?

How to initiate a conversation with a person who recently had transition but you were not in touch with them?

What is the "more" means here?

For the Dungeon of the Mad Mage adventure, which dimension is used to determine a room's ceiling height?

What would be the best propulsion system for this aircraft carrier?

Is is likely that my lack of post-secondary education is holding my resume back?

Dangers of being sympathetic to the killer

Why did Grima shed a tear?

Why does the passage the Letwin amendment "scrap the possibility of a meaningful vote on Johnson's deal"?

Reviewer wants me to do massive amount of work, the result would be a different article. Should I tell that to the editor?

Can Genjutsu be used like Shadow clones for training?

Why is the past tense of vomit generally spelled 'vomited' rather than 'vomitted'?

What does "speed checked" mean?

How to help my son improve without being discouraging?

How does an aircraft descend without its nose pointing down?

Meaning of "in arms"

Is velocity a valid measure of team and process improvement?

Is it possible to have a healthy work-life balance as a professor?

Why does Thorin tell Bilbo that he has "keen eyes"?

Welding steerer tubes

Continents with simplex noise

How offensive is Fachidiot?

Where do overtones in a 555 generated square wave come from?

Why do electrons tend to be in energy eigenstates?



Another gcd problem


Pillai's arithmetical function upper boundShow $displaystylesum_k=N_1^N_2-1 k^s_0left(frac1k^s-frac1(k+1)^sright) rightarrow0$ as $N_1, N_2 rightarrow infty$Prove that if $gcd(a,b)=1$ then $gcd(ab,c) = gcd(a,c) gcd(b,c)$At most one divisor in $[sqrtn,sqrtn+sqrt[4]n]$If $gcd(a,b)=d$, then $gcd(a/d, b/d)=1$Question on proof of $gcd(a,b)$ is the smallest positive linear combinationProve that $a^n bmod n$ congruent to $a^n - phi(n) bmod n$Since $zeta(1) neq 1$, does this mean that $zeta$ is not multiplicative?Proving a complex inequality using Cauchy Schwartz inequality






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;

.everyonelovesstackoverflowposition:absolute;height:1px;width:1px;opacity:0;top:0;left:0;pointer-events:none;








3














$begingroup$


My friend gave me yet another challenge.



Show that $sum_a=1^ngcd(n,a)leq 2n^3/2.$



I have no idea where to start.



This is known as Pillai's arithmetic function, and I put this inequality in OEIS, and it seems to hold, but I don't know how to construct a proof for this.










share|cite|improve this question










$endgroup$










  • 1




    $begingroup$
    Actually, this function is $O(n^1+varepsilon)$. See this paper.
    $endgroup$
    – lhf
    Oct 14 at 14:14

















3














$begingroup$


My friend gave me yet another challenge.



Show that $sum_a=1^ngcd(n,a)leq 2n^3/2.$



I have no idea where to start.



This is known as Pillai's arithmetic function, and I put this inequality in OEIS, and it seems to hold, but I don't know how to construct a proof for this.










share|cite|improve this question










$endgroup$










  • 1




    $begingroup$
    Actually, this function is $O(n^1+varepsilon)$. See this paper.
    $endgroup$
    – lhf
    Oct 14 at 14:14













3












3








3





$begingroup$


My friend gave me yet another challenge.



Show that $sum_a=1^ngcd(n,a)leq 2n^3/2.$



I have no idea where to start.



This is known as Pillai's arithmetic function, and I put this inequality in OEIS, and it seems to hold, but I don't know how to construct a proof for this.










share|cite|improve this question










$endgroup$




My friend gave me yet another challenge.



Show that $sum_a=1^ngcd(n,a)leq 2n^3/2.$



I have no idea where to start.



This is known as Pillai's arithmetic function, and I put this inequality in OEIS, and it seems to hold, but I don't know how to construct a proof for this.







algebra-precalculus elementary-number-theory






share|cite|improve this question














share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Oct 14 at 14:01







user686533user686533

















  • 1




    $begingroup$
    Actually, this function is $O(n^1+varepsilon)$. See this paper.
    $endgroup$
    – lhf
    Oct 14 at 14:14












  • 1




    $begingroup$
    Actually, this function is $O(n^1+varepsilon)$. See this paper.
    $endgroup$
    – lhf
    Oct 14 at 14:14







1




1




$begingroup$
Actually, this function is $O(n^1+varepsilon)$. See this paper.
$endgroup$
– lhf
Oct 14 at 14:14




$begingroup$
Actually, this function is $O(n^1+varepsilon)$. See this paper.
$endgroup$
– lhf
Oct 14 at 14:14










2 Answers
2






active

oldest

votes


















3
















$begingroup$

Hint: Since we have
$$
P(n)=sum_k=1^n operatornamegcd(n,k)=sum_dmid ndphi(n/d),
$$

we can apply estimates for $phi(n/d)$. More details can be found here:



Pillai's arithmetical function upper bound



A bound



$$ P(n) < a n^frac32 $$



was argued there, with some constant $ale 2$.






share|cite|improve this answer












$endgroup$






















    2
















    $begingroup$

    Actually, your particular challenge follows from a simple rewrite of the given function in terms of the Euler Totient function. Recall $phi(n) = |1 leq a leq n : gcd(a,n ) = 1|$.



    I present it in steps for easiness.



    • Given $a,b$, show that $d= gcd(a,b)$ if and only if $d|a,d|b$ and $gcd(a/d,b/d)= 1$.


    • Conclude for any $n$ and $d$ divisor of $n$ that $|1 leq j leq n : gcd(n,j) = d| = phi(n/d)$.


    • Thus, since the gcd of $n$ and anything must be a divisor of $n$, we get that the sum is equal to $sum_d dphi(frac nd)$, since the $d$ gets counted that many times. A change of index $d to frac nd$ gives $nsum_d fracphi(d)d$.


    Thus, the sum is equal to $n sum_d fracphi(d)d$. And now all you need to do is note that $fracphi(x)x leq 1$ for any $x$, therefore an upper bound for the sum is $n$ times the number of divisors of $n$. Can you show that any $n$ has less than $2sqrt n$ divisors? This should not be too difficult.



    Prove it first for numbers of the form $2^p3^q$ where $p,q geq 1$. Recall the number of divisors is then $(p+1)(q+1)$. See if you can push through an argument by induction or something here.



    For the others, proceed by induction : note that $1$ has less than $2$ divisors, and the same for any prime which has only $2$ divisors. Let us keep them also as base cases anyway.



    Let composite $n$ be given : divide $n$ by its largest prime factor $P$, which we assume is $geq 5$ since the other cases have been tackled. Then $frac nP$ has at most $2 sqrtfrac nP$ divisors by induction. Now, if a number $k$ has $l$ divisors, then $kP$ has at most $2l$ many divisors, the originals plus multiplying a $P$ with each one.



    Thus, $n$ has at most $4 sqrt frac nP$ divisors, which of course is smaller than $2sqrt n$ since $P geq 5$. Thus we may conclude.






    share|cite|improve this answer










    $endgroup$














    • $begingroup$
      You don't even need to use induction for the last part. We can just pair up the factors.
      $endgroup$
      – user686533
      Oct 15 at 4:43










    • $begingroup$
      Oh yes, I see. Anyway, the answer should be fine.
      $endgroup$
      – астон вілла олоф мэллбэрг
      Oct 15 at 5:54












    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "69"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );














    draft saved

    draft discarded
















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3393406%2fanother-gcd-problem%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3
















    $begingroup$

    Hint: Since we have
    $$
    P(n)=sum_k=1^n operatornamegcd(n,k)=sum_dmid ndphi(n/d),
    $$

    we can apply estimates for $phi(n/d)$. More details can be found here:



    Pillai's arithmetical function upper bound



    A bound



    $$ P(n) < a n^frac32 $$



    was argued there, with some constant $ale 2$.






    share|cite|improve this answer












    $endgroup$



















      3
















      $begingroup$

      Hint: Since we have
      $$
      P(n)=sum_k=1^n operatornamegcd(n,k)=sum_dmid ndphi(n/d),
      $$

      we can apply estimates for $phi(n/d)$. More details can be found here:



      Pillai's arithmetical function upper bound



      A bound



      $$ P(n) < a n^frac32 $$



      was argued there, with some constant $ale 2$.






      share|cite|improve this answer












      $endgroup$

















        3














        3










        3







        $begingroup$

        Hint: Since we have
        $$
        P(n)=sum_k=1^n operatornamegcd(n,k)=sum_dmid ndphi(n/d),
        $$

        we can apply estimates for $phi(n/d)$. More details can be found here:



        Pillai's arithmetical function upper bound



        A bound



        $$ P(n) < a n^frac32 $$



        was argued there, with some constant $ale 2$.






        share|cite|improve this answer












        $endgroup$



        Hint: Since we have
        $$
        P(n)=sum_k=1^n operatornamegcd(n,k)=sum_dmid ndphi(n/d),
        $$

        we can apply estimates for $phi(n/d)$. More details can be found here:



        Pillai's arithmetical function upper bound



        A bound



        $$ P(n) < a n^frac32 $$



        was argued there, with some constant $ale 2$.







        share|cite|improve this answer















        share|cite|improve this answer




        share|cite|improve this answer








        edited Oct 14 at 14:31

























        answered Oct 14 at 14:22









        Dietrich BurdeDietrich Burde

        89k6 gold badges50 silver badges112 bronze badges




        89k6 gold badges50 silver badges112 bronze badges


























            2
















            $begingroup$

            Actually, your particular challenge follows from a simple rewrite of the given function in terms of the Euler Totient function. Recall $phi(n) = |1 leq a leq n : gcd(a,n ) = 1|$.



            I present it in steps for easiness.



            • Given $a,b$, show that $d= gcd(a,b)$ if and only if $d|a,d|b$ and $gcd(a/d,b/d)= 1$.


            • Conclude for any $n$ and $d$ divisor of $n$ that $|1 leq j leq n : gcd(n,j) = d| = phi(n/d)$.


            • Thus, since the gcd of $n$ and anything must be a divisor of $n$, we get that the sum is equal to $sum_d dphi(frac nd)$, since the $d$ gets counted that many times. A change of index $d to frac nd$ gives $nsum_d fracphi(d)d$.


            Thus, the sum is equal to $n sum_d fracphi(d)d$. And now all you need to do is note that $fracphi(x)x leq 1$ for any $x$, therefore an upper bound for the sum is $n$ times the number of divisors of $n$. Can you show that any $n$ has less than $2sqrt n$ divisors? This should not be too difficult.



            Prove it first for numbers of the form $2^p3^q$ where $p,q geq 1$. Recall the number of divisors is then $(p+1)(q+1)$. See if you can push through an argument by induction or something here.



            For the others, proceed by induction : note that $1$ has less than $2$ divisors, and the same for any prime which has only $2$ divisors. Let us keep them also as base cases anyway.



            Let composite $n$ be given : divide $n$ by its largest prime factor $P$, which we assume is $geq 5$ since the other cases have been tackled. Then $frac nP$ has at most $2 sqrtfrac nP$ divisors by induction. Now, if a number $k$ has $l$ divisors, then $kP$ has at most $2l$ many divisors, the originals plus multiplying a $P$ with each one.



            Thus, $n$ has at most $4 sqrt frac nP$ divisors, which of course is smaller than $2sqrt n$ since $P geq 5$. Thus we may conclude.






            share|cite|improve this answer










            $endgroup$














            • $begingroup$
              You don't even need to use induction for the last part. We can just pair up the factors.
              $endgroup$
              – user686533
              Oct 15 at 4:43










            • $begingroup$
              Oh yes, I see. Anyway, the answer should be fine.
              $endgroup$
              – астон вілла олоф мэллбэрг
              Oct 15 at 5:54















            2
















            $begingroup$

            Actually, your particular challenge follows from a simple rewrite of the given function in terms of the Euler Totient function. Recall $phi(n) = |1 leq a leq n : gcd(a,n ) = 1|$.



            I present it in steps for easiness.



            • Given $a,b$, show that $d= gcd(a,b)$ if and only if $d|a,d|b$ and $gcd(a/d,b/d)= 1$.


            • Conclude for any $n$ and $d$ divisor of $n$ that $|1 leq j leq n : gcd(n,j) = d| = phi(n/d)$.


            • Thus, since the gcd of $n$ and anything must be a divisor of $n$, we get that the sum is equal to $sum_d dphi(frac nd)$, since the $d$ gets counted that many times. A change of index $d to frac nd$ gives $nsum_d fracphi(d)d$.


            Thus, the sum is equal to $n sum_d fracphi(d)d$. And now all you need to do is note that $fracphi(x)x leq 1$ for any $x$, therefore an upper bound for the sum is $n$ times the number of divisors of $n$. Can you show that any $n$ has less than $2sqrt n$ divisors? This should not be too difficult.



            Prove it first for numbers of the form $2^p3^q$ where $p,q geq 1$. Recall the number of divisors is then $(p+1)(q+1)$. See if you can push through an argument by induction or something here.



            For the others, proceed by induction : note that $1$ has less than $2$ divisors, and the same for any prime which has only $2$ divisors. Let us keep them also as base cases anyway.



            Let composite $n$ be given : divide $n$ by its largest prime factor $P$, which we assume is $geq 5$ since the other cases have been tackled. Then $frac nP$ has at most $2 sqrtfrac nP$ divisors by induction. Now, if a number $k$ has $l$ divisors, then $kP$ has at most $2l$ many divisors, the originals plus multiplying a $P$ with each one.



            Thus, $n$ has at most $4 sqrt frac nP$ divisors, which of course is smaller than $2sqrt n$ since $P geq 5$. Thus we may conclude.






            share|cite|improve this answer










            $endgroup$














            • $begingroup$
              You don't even need to use induction for the last part. We can just pair up the factors.
              $endgroup$
              – user686533
              Oct 15 at 4:43










            • $begingroup$
              Oh yes, I see. Anyway, the answer should be fine.
              $endgroup$
              – астон вілла олоф мэллбэрг
              Oct 15 at 5:54













            2














            2










            2







            $begingroup$

            Actually, your particular challenge follows from a simple rewrite of the given function in terms of the Euler Totient function. Recall $phi(n) = |1 leq a leq n : gcd(a,n ) = 1|$.



            I present it in steps for easiness.



            • Given $a,b$, show that $d= gcd(a,b)$ if and only if $d|a,d|b$ and $gcd(a/d,b/d)= 1$.


            • Conclude for any $n$ and $d$ divisor of $n$ that $|1 leq j leq n : gcd(n,j) = d| = phi(n/d)$.


            • Thus, since the gcd of $n$ and anything must be a divisor of $n$, we get that the sum is equal to $sum_d dphi(frac nd)$, since the $d$ gets counted that many times. A change of index $d to frac nd$ gives $nsum_d fracphi(d)d$.


            Thus, the sum is equal to $n sum_d fracphi(d)d$. And now all you need to do is note that $fracphi(x)x leq 1$ for any $x$, therefore an upper bound for the sum is $n$ times the number of divisors of $n$. Can you show that any $n$ has less than $2sqrt n$ divisors? This should not be too difficult.



            Prove it first for numbers of the form $2^p3^q$ where $p,q geq 1$. Recall the number of divisors is then $(p+1)(q+1)$. See if you can push through an argument by induction or something here.



            For the others, proceed by induction : note that $1$ has less than $2$ divisors, and the same for any prime which has only $2$ divisors. Let us keep them also as base cases anyway.



            Let composite $n$ be given : divide $n$ by its largest prime factor $P$, which we assume is $geq 5$ since the other cases have been tackled. Then $frac nP$ has at most $2 sqrtfrac nP$ divisors by induction. Now, if a number $k$ has $l$ divisors, then $kP$ has at most $2l$ many divisors, the originals plus multiplying a $P$ with each one.



            Thus, $n$ has at most $4 sqrt frac nP$ divisors, which of course is smaller than $2sqrt n$ since $P geq 5$. Thus we may conclude.






            share|cite|improve this answer










            $endgroup$



            Actually, your particular challenge follows from a simple rewrite of the given function in terms of the Euler Totient function. Recall $phi(n) = |1 leq a leq n : gcd(a,n ) = 1|$.



            I present it in steps for easiness.



            • Given $a,b$, show that $d= gcd(a,b)$ if and only if $d|a,d|b$ and $gcd(a/d,b/d)= 1$.


            • Conclude for any $n$ and $d$ divisor of $n$ that $|1 leq j leq n : gcd(n,j) = d| = phi(n/d)$.


            • Thus, since the gcd of $n$ and anything must be a divisor of $n$, we get that the sum is equal to $sum_d dphi(frac nd)$, since the $d$ gets counted that many times. A change of index $d to frac nd$ gives $nsum_d fracphi(d)d$.


            Thus, the sum is equal to $n sum_d fracphi(d)d$. And now all you need to do is note that $fracphi(x)x leq 1$ for any $x$, therefore an upper bound for the sum is $n$ times the number of divisors of $n$. Can you show that any $n$ has less than $2sqrt n$ divisors? This should not be too difficult.



            Prove it first for numbers of the form $2^p3^q$ where $p,q geq 1$. Recall the number of divisors is then $(p+1)(q+1)$. See if you can push through an argument by induction or something here.



            For the others, proceed by induction : note that $1$ has less than $2$ divisors, and the same for any prime which has only $2$ divisors. Let us keep them also as base cases anyway.



            Let composite $n$ be given : divide $n$ by its largest prime factor $P$, which we assume is $geq 5$ since the other cases have been tackled. Then $frac nP$ has at most $2 sqrtfrac nP$ divisors by induction. Now, if a number $k$ has $l$ divisors, then $kP$ has at most $2l$ many divisors, the originals plus multiplying a $P$ with each one.



            Thus, $n$ has at most $4 sqrt frac nP$ divisors, which of course is smaller than $2sqrt n$ since $P geq 5$. Thus we may conclude.







            share|cite|improve this answer













            share|cite|improve this answer




            share|cite|improve this answer










            answered Oct 14 at 14:57









            астон вілла олоф мэллбэргастон вілла олоф мэллбэрг

            43.5k3 gold badges39 silver badges78 bronze badges




            43.5k3 gold badges39 silver badges78 bronze badges














            • $begingroup$
              You don't even need to use induction for the last part. We can just pair up the factors.
              $endgroup$
              – user686533
              Oct 15 at 4:43










            • $begingroup$
              Oh yes, I see. Anyway, the answer should be fine.
              $endgroup$
              – астон вілла олоф мэллбэрг
              Oct 15 at 5:54
















            • $begingroup$
              You don't even need to use induction for the last part. We can just pair up the factors.
              $endgroup$
              – user686533
              Oct 15 at 4:43










            • $begingroup$
              Oh yes, I see. Anyway, the answer should be fine.
              $endgroup$
              – астон вілла олоф мэллбэрг
              Oct 15 at 5:54















            $begingroup$
            You don't even need to use induction for the last part. We can just pair up the factors.
            $endgroup$
            – user686533
            Oct 15 at 4:43




            $begingroup$
            You don't even need to use induction for the last part. We can just pair up the factors.
            $endgroup$
            – user686533
            Oct 15 at 4:43












            $begingroup$
            Oh yes, I see. Anyway, the answer should be fine.
            $endgroup$
            – астон вілла олоф мэллбэрг
            Oct 15 at 5:54




            $begingroup$
            Oh yes, I see. Anyway, the answer should be fine.
            $endgroup$
            – астон вілла олоф мэллбэрг
            Oct 15 at 5:54


















            draft saved

            draft discarded















































            Thanks for contributing an answer to Mathematics Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3393406%2fanother-gcd-problem%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown









            Popular posts from this blog

            Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

            Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

            199年 目錄 大件事 到箇年出世嗰人 到箇年死嗰人 節慶、風俗習慣 導覽選單