If $g$ solves $sumlimits_dg(d) = log n$, then $g(p^e)=log p$ for every prime $p$ and integer $e$, and $g(n)=0$ otherwise

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












A function $g(n)$ is defined for positive integers $n$ by the rule
$displaystylesum_dg(d) = log n$.
Prove that $g(n)=log p$ if $n=p^e$ where $p$ is a prime and $ein mathbbZ^+$, and $g(n)=0$ otherwise.



I have no idea how to start this question at all does it include mathematical induction?







share|cite|improve this question


























    up vote
    2
    down vote

    favorite












    A function $g(n)$ is defined for positive integers $n$ by the rule
    $displaystylesum_dg(d) = log n$.
    Prove that $g(n)=log p$ if $n=p^e$ where $p$ is a prime and $ein mathbbZ^+$, and $g(n)=0$ otherwise.



    I have no idea how to start this question at all does it include mathematical induction?







    share|cite|improve this question
























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      A function $g(n)$ is defined for positive integers $n$ by the rule
      $displaystylesum_dg(d) = log n$.
      Prove that $g(n)=log p$ if $n=p^e$ where $p$ is a prime and $ein mathbbZ^+$, and $g(n)=0$ otherwise.



      I have no idea how to start this question at all does it include mathematical induction?







      share|cite|improve this question














      A function $g(n)$ is defined for positive integers $n$ by the rule
      $displaystylesum_dg(d) = log n$.
      Prove that $g(n)=log p$ if $n=p^e$ where $p$ is a prime and $ein mathbbZ^+$, and $g(n)=0$ otherwise.



      I have no idea how to start this question at all does it include mathematical induction?









      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Aug 23 at 21:42









      The Short One

      6981622




      6981622










      asked Aug 22 at 10:40









      Andrew Chung

      171




      171




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          1
          down vote













          If you don't know where to begin, then you begin with small steps. Start with $g(1)$. Then tackle $g(2), g(3), g(5)$ (note that the definition says that $g(1) + g(2) = log 2$, and so on), and from there you should be able to see quite easily that $g(p) = log p$ for prime $p$.



          Now for prime powers. Calculate $g(4)$ from $g(1) + g(2) + g(4) = log 4$. Then $g(8)$ similarily. Here you might have to use well-known facts about the logarithm to proceed. Now you can probably prove that $g(2^e) = log 2$, and it shouldn't be too hard to show that the same goes for all the other primes.



          Finally, numbers which are not powers of primes. Start with $g(6), g(10)$ and $g(15)$ to get a feel for it. Maybe $g(12), g(18)$ and $g(30)$. Then go for the full result from there. Doing some form of (strong) induction might prove advantageous here.






          share|cite|improve this answer





























            up vote
            1
            down vote













            We have by Mobius inversion that



            $$g(n) = sum_d mu(d) log(n/d)
            = log n times sum_d mu(d) - sum_d mu(d) log d
            \ = - sum_d mu(d) log d.$$



            Now collect the contributions from $log p$ where $pin P$
            with $P$ the set of primes that divide $n$. We obtain



            $$-sum_p log p
            sum_Qsubseteq Psetminus p (-1)^Q
            = sum_p log p
            sum_Qsubseteq Psetminus p (-1)^
            \ = sum_p log p
            sum_q=0^
            (-1)^q.$$



            Observe that when $|Psetminusp| ge 1$ i.e. $n$ has more than
            one prime factor we get



            $$sum_p log p times (1-1)^ = 0,$$



            so $g(n)$ is zero in this case. This leaves $n$ the power of a single
            prime $p$ and we find



            $$log p times (-1)^ = log p$$



            as claimed.






            share|cite|improve this answer






















              Your Answer




              StackExchange.ifUsing("editor", function ()
              return StackExchange.using("mathjaxEditing", function ()
              StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
              StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
              );
              );
              , "mathjax-editing");

              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',
              convertImagesToLinks: true,
              noModals: false,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              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%2f2890891%2fif-g-solves-sum-limits-dngd-log-n-then-gpe-log-p-for-every-p%23new-answer', 'question_page');

              );

              Post as a guest






























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              1
              down vote













              If you don't know where to begin, then you begin with small steps. Start with $g(1)$. Then tackle $g(2), g(3), g(5)$ (note that the definition says that $g(1) + g(2) = log 2$, and so on), and from there you should be able to see quite easily that $g(p) = log p$ for prime $p$.



              Now for prime powers. Calculate $g(4)$ from $g(1) + g(2) + g(4) = log 4$. Then $g(8)$ similarily. Here you might have to use well-known facts about the logarithm to proceed. Now you can probably prove that $g(2^e) = log 2$, and it shouldn't be too hard to show that the same goes for all the other primes.



              Finally, numbers which are not powers of primes. Start with $g(6), g(10)$ and $g(15)$ to get a feel for it. Maybe $g(12), g(18)$ and $g(30)$. Then go for the full result from there. Doing some form of (strong) induction might prove advantageous here.






              share|cite|improve this answer


























                up vote
                1
                down vote













                If you don't know where to begin, then you begin with small steps. Start with $g(1)$. Then tackle $g(2), g(3), g(5)$ (note that the definition says that $g(1) + g(2) = log 2$, and so on), and from there you should be able to see quite easily that $g(p) = log p$ for prime $p$.



                Now for prime powers. Calculate $g(4)$ from $g(1) + g(2) + g(4) = log 4$. Then $g(8)$ similarily. Here you might have to use well-known facts about the logarithm to proceed. Now you can probably prove that $g(2^e) = log 2$, and it shouldn't be too hard to show that the same goes for all the other primes.



                Finally, numbers which are not powers of primes. Start with $g(6), g(10)$ and $g(15)$ to get a feel for it. Maybe $g(12), g(18)$ and $g(30)$. Then go for the full result from there. Doing some form of (strong) induction might prove advantageous here.






                share|cite|improve this answer
























                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  If you don't know where to begin, then you begin with small steps. Start with $g(1)$. Then tackle $g(2), g(3), g(5)$ (note that the definition says that $g(1) + g(2) = log 2$, and so on), and from there you should be able to see quite easily that $g(p) = log p$ for prime $p$.



                  Now for prime powers. Calculate $g(4)$ from $g(1) + g(2) + g(4) = log 4$. Then $g(8)$ similarily. Here you might have to use well-known facts about the logarithm to proceed. Now you can probably prove that $g(2^e) = log 2$, and it shouldn't be too hard to show that the same goes for all the other primes.



                  Finally, numbers which are not powers of primes. Start with $g(6), g(10)$ and $g(15)$ to get a feel for it. Maybe $g(12), g(18)$ and $g(30)$. Then go for the full result from there. Doing some form of (strong) induction might prove advantageous here.






                  share|cite|improve this answer














                  If you don't know where to begin, then you begin with small steps. Start with $g(1)$. Then tackle $g(2), g(3), g(5)$ (note that the definition says that $g(1) + g(2) = log 2$, and so on), and from there you should be able to see quite easily that $g(p) = log p$ for prime $p$.



                  Now for prime powers. Calculate $g(4)$ from $g(1) + g(2) + g(4) = log 4$. Then $g(8)$ similarily. Here you might have to use well-known facts about the logarithm to proceed. Now you can probably prove that $g(2^e) = log 2$, and it shouldn't be too hard to show that the same goes for all the other primes.



                  Finally, numbers which are not powers of primes. Start with $g(6), g(10)$ and $g(15)$ to get a feel for it. Maybe $g(12), g(18)$ and $g(30)$. Then go for the full result from there. Doing some form of (strong) induction might prove advantageous here.







                  share|cite|improve this answer














                  share|cite|improve this answer



                  share|cite|improve this answer








                  edited Aug 22 at 10:59

























                  answered Aug 22 at 10:47









                  Arthur

                  101k795176




                  101k795176




















                      up vote
                      1
                      down vote













                      We have by Mobius inversion that



                      $$g(n) = sum_d mu(d) log(n/d)
                      = log n times sum_d mu(d) - sum_d mu(d) log d
                      \ = - sum_d mu(d) log d.$$



                      Now collect the contributions from $log p$ where $pin P$
                      with $P$ the set of primes that divide $n$. We obtain



                      $$-sum_p log p
                      sum_Qsubseteq Psetminus p (-1)^Q
                      = sum_p log p
                      sum_Qsubseteq Psetminus p (-1)^
                      \ = sum_p log p
                      sum_q=0^
                      (-1)^q.$$



                      Observe that when $|Psetminusp| ge 1$ i.e. $n$ has more than
                      one prime factor we get



                      $$sum_p log p times (1-1)^ = 0,$$



                      so $g(n)$ is zero in this case. This leaves $n$ the power of a single
                      prime $p$ and we find



                      $$log p times (-1)^ = log p$$



                      as claimed.






                      share|cite|improve this answer


























                        up vote
                        1
                        down vote













                        We have by Mobius inversion that



                        $$g(n) = sum_d mu(d) log(n/d)
                        = log n times sum_d mu(d) - sum_d mu(d) log d
                        \ = - sum_d mu(d) log d.$$



                        Now collect the contributions from $log p$ where $pin P$
                        with $P$ the set of primes that divide $n$. We obtain



                        $$-sum_p log p
                        sum_Qsubseteq Psetminus p (-1)^Q
                        = sum_p log p
                        sum_Qsubseteq Psetminus p (-1)^
                        \ = sum_p log p
                        sum_q=0^
                        (-1)^q.$$



                        Observe that when $|Psetminusp| ge 1$ i.e. $n$ has more than
                        one prime factor we get



                        $$sum_p log p times (1-1)^ = 0,$$



                        so $g(n)$ is zero in this case. This leaves $n$ the power of a single
                        prime $p$ and we find



                        $$log p times (-1)^ = log p$$



                        as claimed.






                        share|cite|improve this answer
























                          up vote
                          1
                          down vote










                          up vote
                          1
                          down vote









                          We have by Mobius inversion that



                          $$g(n) = sum_d mu(d) log(n/d)
                          = log n times sum_d mu(d) - sum_d mu(d) log d
                          \ = - sum_d mu(d) log d.$$



                          Now collect the contributions from $log p$ where $pin P$
                          with $P$ the set of primes that divide $n$. We obtain



                          $$-sum_p log p
                          sum_Qsubseteq Psetminus p (-1)^Q
                          = sum_p log p
                          sum_Qsubseteq Psetminus p (-1)^
                          \ = sum_p log p
                          sum_q=0^
                          (-1)^q.$$



                          Observe that when $|Psetminusp| ge 1$ i.e. $n$ has more than
                          one prime factor we get



                          $$sum_p log p times (1-1)^ = 0,$$



                          so $g(n)$ is zero in this case. This leaves $n$ the power of a single
                          prime $p$ and we find



                          $$log p times (-1)^ = log p$$



                          as claimed.






                          share|cite|improve this answer














                          We have by Mobius inversion that



                          $$g(n) = sum_d mu(d) log(n/d)
                          = log n times sum_d mu(d) - sum_d mu(d) log d
                          \ = - sum_d mu(d) log d.$$



                          Now collect the contributions from $log p$ where $pin P$
                          with $P$ the set of primes that divide $n$. We obtain



                          $$-sum_p log p
                          sum_Qsubseteq Psetminus p (-1)^Q
                          = sum_p log p
                          sum_Qsubseteq Psetminus p (-1)^
                          \ = sum_p log p
                          sum_q=0^
                          (-1)^q.$$



                          Observe that when $|Psetminusp| ge 1$ i.e. $n$ has more than
                          one prime factor we get



                          $$sum_p log p times (1-1)^ = 0,$$



                          so $g(n)$ is zero in this case. This leaves $n$ the power of a single
                          prime $p$ and we find



                          $$log p times (-1)^ = log p$$



                          as claimed.







                          share|cite|improve this answer














                          share|cite|improve this answer



                          share|cite|improve this answer








                          edited Aug 22 at 15:01

























                          answered Aug 22 at 13:46









                          Marko Riedel

                          36.9k333107




                          36.9k333107






















                               

                              draft saved


                              draft discarded


























                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2890891%2fif-g-solves-sum-limits-dngd-log-n-then-gpe-log-p-for-every-p%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              這個網誌中的熱門文章

                              How to combine Bézier curves to a surface?

                              Mutual Information Always Non-negative

                              Why am i infinitely getting the same tweet with the Twitter Search API?