In a perfect number $2^{p−1} times (2^p − 1)$, the ratio of $p$ to the digits in its perfect number...












2












$begingroup$


I was reading about Mersenne primes and perfect numbers, and how the expression $2^{p−1} times (2^p − 1)$, where $p$ is any prime number, can be used to generate perfect numbers when $2^{p−1}$ is a Mersenne prime. I also found a claim on Wikipedia that "The ratio ($p$ / digits) approaches $log(10) / log(4) = 1.6609640474ldots$" but I cannot find the proof that shows this to be true. Why is it $log(10)/log(4)$?










share|cite|improve this question











$endgroup$

















    2












    $begingroup$


    I was reading about Mersenne primes and perfect numbers, and how the expression $2^{p−1} times (2^p − 1)$, where $p$ is any prime number, can be used to generate perfect numbers when $2^{p−1}$ is a Mersenne prime. I also found a claim on Wikipedia that "The ratio ($p$ / digits) approaches $log(10) / log(4) = 1.6609640474ldots$" but I cannot find the proof that shows this to be true. Why is it $log(10)/log(4)$?










    share|cite|improve this question











    $endgroup$















      2












      2








      2


      3



      $begingroup$


      I was reading about Mersenne primes and perfect numbers, and how the expression $2^{p−1} times (2^p − 1)$, where $p$ is any prime number, can be used to generate perfect numbers when $2^{p−1}$ is a Mersenne prime. I also found a claim on Wikipedia that "The ratio ($p$ / digits) approaches $log(10) / log(4) = 1.6609640474ldots$" but I cannot find the proof that shows this to be true. Why is it $log(10)/log(4)$?










      share|cite|improve this question











      $endgroup$




      I was reading about Mersenne primes and perfect numbers, and how the expression $2^{p−1} times (2^p − 1)$, where $p$ is any prime number, can be used to generate perfect numbers when $2^{p−1}$ is a Mersenne prime. I also found a claim on Wikipedia that "The ratio ($p$ / digits) approaches $log(10) / log(4) = 1.6609640474ldots$" but I cannot find the proof that shows this to be true. Why is it $log(10)/log(4)$?







      prime-numbers perfect-numbers






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Dec 7 '18 at 3:48









      zipirovich

      11.2k11631




      11.2k11631










      asked Dec 7 '18 at 3:39









      Sara Sara

      132




      132






















          1 Answer
          1






          active

          oldest

          votes


















          3












          $begingroup$

          Because the number of digits in an integer $N$ is approximately $log_{10}N$. The precise formula is $lfloorlog_{10}Nrfloor+1$, but when $N$ is large this rounding is insignificant.



          For $N=2^{p−1}times(2^p−1)$, and assuming $p$ (and therefore, $N$) is large, this gives:
          $$begin{aligned}
          log_{10}N&=log_{10}left(2^{p−1}times(2^p−1)right)=\
          &=log_{10}left(2^{p−1}right)+log_{10}left(2^p−1right)approx\
          &approxlog_{10}left(2^{p−1}right)+log_{10}left(2^pright)=\
          &=(p-1)log_{10}2+plog_{10}2=\
          &=(2p-1)log_{10}2approx\
          &approx2plog_{10}2=\
          &=plog_{10}4,
          end{aligned}$$

          and then the change of base formula finishes the proof.






          share|cite|improve this answer









          $endgroup$













            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',
            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/3.0/"u003ecc by-sa 3.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%2f3029431%2fin-a-perfect-number-2p%25e2%2588%25921-times-2p-%25e2%2588%2592-1-the-ratio-of-p-to-the-digits-i%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            3












            $begingroup$

            Because the number of digits in an integer $N$ is approximately $log_{10}N$. The precise formula is $lfloorlog_{10}Nrfloor+1$, but when $N$ is large this rounding is insignificant.



            For $N=2^{p−1}times(2^p−1)$, and assuming $p$ (and therefore, $N$) is large, this gives:
            $$begin{aligned}
            log_{10}N&=log_{10}left(2^{p−1}times(2^p−1)right)=\
            &=log_{10}left(2^{p−1}right)+log_{10}left(2^p−1right)approx\
            &approxlog_{10}left(2^{p−1}right)+log_{10}left(2^pright)=\
            &=(p-1)log_{10}2+plog_{10}2=\
            &=(2p-1)log_{10}2approx\
            &approx2plog_{10}2=\
            &=plog_{10}4,
            end{aligned}$$

            and then the change of base formula finishes the proof.






            share|cite|improve this answer









            $endgroup$


















              3












              $begingroup$

              Because the number of digits in an integer $N$ is approximately $log_{10}N$. The precise formula is $lfloorlog_{10}Nrfloor+1$, but when $N$ is large this rounding is insignificant.



              For $N=2^{p−1}times(2^p−1)$, and assuming $p$ (and therefore, $N$) is large, this gives:
              $$begin{aligned}
              log_{10}N&=log_{10}left(2^{p−1}times(2^p−1)right)=\
              &=log_{10}left(2^{p−1}right)+log_{10}left(2^p−1right)approx\
              &approxlog_{10}left(2^{p−1}right)+log_{10}left(2^pright)=\
              &=(p-1)log_{10}2+plog_{10}2=\
              &=(2p-1)log_{10}2approx\
              &approx2plog_{10}2=\
              &=plog_{10}4,
              end{aligned}$$

              and then the change of base formula finishes the proof.






              share|cite|improve this answer









              $endgroup$
















                3












                3








                3





                $begingroup$

                Because the number of digits in an integer $N$ is approximately $log_{10}N$. The precise formula is $lfloorlog_{10}Nrfloor+1$, but when $N$ is large this rounding is insignificant.



                For $N=2^{p−1}times(2^p−1)$, and assuming $p$ (and therefore, $N$) is large, this gives:
                $$begin{aligned}
                log_{10}N&=log_{10}left(2^{p−1}times(2^p−1)right)=\
                &=log_{10}left(2^{p−1}right)+log_{10}left(2^p−1right)approx\
                &approxlog_{10}left(2^{p−1}right)+log_{10}left(2^pright)=\
                &=(p-1)log_{10}2+plog_{10}2=\
                &=(2p-1)log_{10}2approx\
                &approx2plog_{10}2=\
                &=plog_{10}4,
                end{aligned}$$

                and then the change of base formula finishes the proof.






                share|cite|improve this answer









                $endgroup$



                Because the number of digits in an integer $N$ is approximately $log_{10}N$. The precise formula is $lfloorlog_{10}Nrfloor+1$, but when $N$ is large this rounding is insignificant.



                For $N=2^{p−1}times(2^p−1)$, and assuming $p$ (and therefore, $N$) is large, this gives:
                $$begin{aligned}
                log_{10}N&=log_{10}left(2^{p−1}times(2^p−1)right)=\
                &=log_{10}left(2^{p−1}right)+log_{10}left(2^p−1right)approx\
                &approxlog_{10}left(2^{p−1}right)+log_{10}left(2^pright)=\
                &=(p-1)log_{10}2+plog_{10}2=\
                &=(2p-1)log_{10}2approx\
                &approx2plog_{10}2=\
                &=plog_{10}4,
                end{aligned}$$

                and then the change of base formula finishes the proof.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Dec 7 '18 at 3:57









                zipirovichzipirovich

                11.2k11631




                11.2k11631






























                    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%2f3029431%2fin-a-perfect-number-2p%25e2%2588%25921-times-2p-%25e2%2588%2592-1-the-ratio-of-p-to-the-digits-i%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

                    Ellipse (mathématiques)

                    Quarter-circle Tiles

                    Mont Emei