About The Sum of Positive Divisors of $n$












3












$begingroup$


The question says:




Find the smallest positive integer $n$ so that $sigma(x)=n$ has no solution, exactly two solutions, exactly three solutions.




I could not come up with a good way to solve this question other that trial and error. But I am questioning this method. Is there any better ideas?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    I think brute search is optimal, if a bit tedious. You'll find the answer fairly quickly.
    $endgroup$
    – lulu
    Dec 9 '18 at 13:35










  • $begingroup$
    Oh, thanks, my method sounds good though.
    $endgroup$
    – Maged Saeed
    Dec 9 '18 at 13:35






  • 1




    $begingroup$
    Absolutely, yes. And you are correct about $2,12$. The third part won't take you as long as you fear. Keep in mind $sigma_1(n)≥n+1$ with equality only for primes. That makes it easy to truncate your search.
    $endgroup$
    – lulu
    Dec 9 '18 at 13:36








  • 1




    $begingroup$
    Correct again. $,$
    $endgroup$
    – lulu
    Dec 9 '18 at 13:39






  • 1




    $begingroup$
    (+1) for the posted solution, good work.
    $endgroup$
    – lulu
    Dec 9 '18 at 13:49
















3












$begingroup$


The question says:




Find the smallest positive integer $n$ so that $sigma(x)=n$ has no solution, exactly two solutions, exactly three solutions.




I could not come up with a good way to solve this question other that trial and error. But I am questioning this method. Is there any better ideas?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    I think brute search is optimal, if a bit tedious. You'll find the answer fairly quickly.
    $endgroup$
    – lulu
    Dec 9 '18 at 13:35










  • $begingroup$
    Oh, thanks, my method sounds good though.
    $endgroup$
    – Maged Saeed
    Dec 9 '18 at 13:35






  • 1




    $begingroup$
    Absolutely, yes. And you are correct about $2,12$. The third part won't take you as long as you fear. Keep in mind $sigma_1(n)≥n+1$ with equality only for primes. That makes it easy to truncate your search.
    $endgroup$
    – lulu
    Dec 9 '18 at 13:36








  • 1




    $begingroup$
    Correct again. $,$
    $endgroup$
    – lulu
    Dec 9 '18 at 13:39






  • 1




    $begingroup$
    (+1) for the posted solution, good work.
    $endgroup$
    – lulu
    Dec 9 '18 at 13:49














3












3








3


1



$begingroup$


The question says:




Find the smallest positive integer $n$ so that $sigma(x)=n$ has no solution, exactly two solutions, exactly three solutions.




I could not come up with a good way to solve this question other that trial and error. But I am questioning this method. Is there any better ideas?










share|cite|improve this question











$endgroup$




The question says:




Find the smallest positive integer $n$ so that $sigma(x)=n$ has no solution, exactly two solutions, exactly three solutions.




I could not come up with a good way to solve this question other that trial and error. But I am questioning this method. Is there any better ideas?







number-theory elementary-number-theory divisor-sum arithmetic-functions multiplicative-function






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 9 '18 at 13:44







Maged Saeed

















asked Dec 9 '18 at 13:23









Maged SaeedMaged Saeed

8471417




8471417








  • 1




    $begingroup$
    I think brute search is optimal, if a bit tedious. You'll find the answer fairly quickly.
    $endgroup$
    – lulu
    Dec 9 '18 at 13:35










  • $begingroup$
    Oh, thanks, my method sounds good though.
    $endgroup$
    – Maged Saeed
    Dec 9 '18 at 13:35






  • 1




    $begingroup$
    Absolutely, yes. And you are correct about $2,12$. The third part won't take you as long as you fear. Keep in mind $sigma_1(n)≥n+1$ with equality only for primes. That makes it easy to truncate your search.
    $endgroup$
    – lulu
    Dec 9 '18 at 13:36








  • 1




    $begingroup$
    Correct again. $,$
    $endgroup$
    – lulu
    Dec 9 '18 at 13:39






  • 1




    $begingroup$
    (+1) for the posted solution, good work.
    $endgroup$
    – lulu
    Dec 9 '18 at 13:49














  • 1




    $begingroup$
    I think brute search is optimal, if a bit tedious. You'll find the answer fairly quickly.
    $endgroup$
    – lulu
    Dec 9 '18 at 13:35










  • $begingroup$
    Oh, thanks, my method sounds good though.
    $endgroup$
    – Maged Saeed
    Dec 9 '18 at 13:35






  • 1




    $begingroup$
    Absolutely, yes. And you are correct about $2,12$. The third part won't take you as long as you fear. Keep in mind $sigma_1(n)≥n+1$ with equality only for primes. That makes it easy to truncate your search.
    $endgroup$
    – lulu
    Dec 9 '18 at 13:36








  • 1




    $begingroup$
    Correct again. $,$
    $endgroup$
    – lulu
    Dec 9 '18 at 13:39






  • 1




    $begingroup$
    (+1) for the posted solution, good work.
    $endgroup$
    – lulu
    Dec 9 '18 at 13:49








1




1




$begingroup$
I think brute search is optimal, if a bit tedious. You'll find the answer fairly quickly.
$endgroup$
– lulu
Dec 9 '18 at 13:35




$begingroup$
I think brute search is optimal, if a bit tedious. You'll find the answer fairly quickly.
$endgroup$
– lulu
Dec 9 '18 at 13:35












$begingroup$
Oh, thanks, my method sounds good though.
$endgroup$
– Maged Saeed
Dec 9 '18 at 13:35




$begingroup$
Oh, thanks, my method sounds good though.
$endgroup$
– Maged Saeed
Dec 9 '18 at 13:35




1




1




$begingroup$
Absolutely, yes. And you are correct about $2,12$. The third part won't take you as long as you fear. Keep in mind $sigma_1(n)≥n+1$ with equality only for primes. That makes it easy to truncate your search.
$endgroup$
– lulu
Dec 9 '18 at 13:36






$begingroup$
Absolutely, yes. And you are correct about $2,12$. The third part won't take you as long as you fear. Keep in mind $sigma_1(n)≥n+1$ with equality only for primes. That makes it easy to truncate your search.
$endgroup$
– lulu
Dec 9 '18 at 13:36






1




1




$begingroup$
Correct again. $,$
$endgroup$
– lulu
Dec 9 '18 at 13:39




$begingroup$
Correct again. $,$
$endgroup$
– lulu
Dec 9 '18 at 13:39




1




1




$begingroup$
(+1) for the posted solution, good work.
$endgroup$
– lulu
Dec 9 '18 at 13:49




$begingroup$
(+1) for the posted solution, good work.
$endgroup$
– lulu
Dec 9 '18 at 13:49










2 Answers
2






active

oldest

votes


















4












$begingroup$

By trial and error, I have found that the solutions are:





  • $sigma(x) = 2$ has no solution.


  • $sigma(x) = 12$ has exactly two solutions that are $6$ and $11$.


  • $sigma(x) = 24$ has exactly three solutions that are $14,15$ and $23$.






share|cite|improve this answer









$endgroup$





















    1












    $begingroup$

    The number of divisors of a natural number $n$ is given by $sigma(n) = sum_{k=1}^{infty}left ( left lfloor frac{n}{k} right rfloor-left lfloor frac{n-1}{k} right rfloor right )$.



    This may be useful when expanding the summation.



    Note that, when $n$ is a prime number, $sum_{k=1}^{infty}left ( left lfloor frac{n}{k} right rfloor-left lfloor frac{n-1}{k} right rfloor right )=2$






    share|cite|improve this answer









    $endgroup$













    • $begingroup$
      how did you come up with this formula?
      $endgroup$
      – Maged Saeed
      Dec 12 '18 at 2:03











    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%2f3032376%2fabout-the-sum-of-positive-divisors-of-n%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









    4












    $begingroup$

    By trial and error, I have found that the solutions are:





    • $sigma(x) = 2$ has no solution.


    • $sigma(x) = 12$ has exactly two solutions that are $6$ and $11$.


    • $sigma(x) = 24$ has exactly three solutions that are $14,15$ and $23$.






    share|cite|improve this answer









    $endgroup$


















      4












      $begingroup$

      By trial and error, I have found that the solutions are:





      • $sigma(x) = 2$ has no solution.


      • $sigma(x) = 12$ has exactly two solutions that are $6$ and $11$.


      • $sigma(x) = 24$ has exactly three solutions that are $14,15$ and $23$.






      share|cite|improve this answer









      $endgroup$
















        4












        4








        4





        $begingroup$

        By trial and error, I have found that the solutions are:





        • $sigma(x) = 2$ has no solution.


        • $sigma(x) = 12$ has exactly two solutions that are $6$ and $11$.


        • $sigma(x) = 24$ has exactly three solutions that are $14,15$ and $23$.






        share|cite|improve this answer









        $endgroup$



        By trial and error, I have found that the solutions are:





        • $sigma(x) = 2$ has no solution.


        • $sigma(x) = 12$ has exactly two solutions that are $6$ and $11$.


        • $sigma(x) = 24$ has exactly three solutions that are $14,15$ and $23$.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Dec 9 '18 at 13:46









        Maged SaeedMaged Saeed

        8471417




        8471417























            1












            $begingroup$

            The number of divisors of a natural number $n$ is given by $sigma(n) = sum_{k=1}^{infty}left ( left lfloor frac{n}{k} right rfloor-left lfloor frac{n-1}{k} right rfloor right )$.



            This may be useful when expanding the summation.



            Note that, when $n$ is a prime number, $sum_{k=1}^{infty}left ( left lfloor frac{n}{k} right rfloor-left lfloor frac{n-1}{k} right rfloor right )=2$






            share|cite|improve this answer









            $endgroup$













            • $begingroup$
              how did you come up with this formula?
              $endgroup$
              – Maged Saeed
              Dec 12 '18 at 2:03
















            1












            $begingroup$

            The number of divisors of a natural number $n$ is given by $sigma(n) = sum_{k=1}^{infty}left ( left lfloor frac{n}{k} right rfloor-left lfloor frac{n-1}{k} right rfloor right )$.



            This may be useful when expanding the summation.



            Note that, when $n$ is a prime number, $sum_{k=1}^{infty}left ( left lfloor frac{n}{k} right rfloor-left lfloor frac{n-1}{k} right rfloor right )=2$






            share|cite|improve this answer









            $endgroup$













            • $begingroup$
              how did you come up with this formula?
              $endgroup$
              – Maged Saeed
              Dec 12 '18 at 2:03














            1












            1








            1





            $begingroup$

            The number of divisors of a natural number $n$ is given by $sigma(n) = sum_{k=1}^{infty}left ( left lfloor frac{n}{k} right rfloor-left lfloor frac{n-1}{k} right rfloor right )$.



            This may be useful when expanding the summation.



            Note that, when $n$ is a prime number, $sum_{k=1}^{infty}left ( left lfloor frac{n}{k} right rfloor-left lfloor frac{n-1}{k} right rfloor right )=2$






            share|cite|improve this answer









            $endgroup$



            The number of divisors of a natural number $n$ is given by $sigma(n) = sum_{k=1}^{infty}left ( left lfloor frac{n}{k} right rfloor-left lfloor frac{n-1}{k} right rfloor right )$.



            This may be useful when expanding the summation.



            Note that, when $n$ is a prime number, $sum_{k=1}^{infty}left ( left lfloor frac{n}{k} right rfloor-left lfloor frac{n-1}{k} right rfloor right )=2$







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Dec 9 '18 at 13:53









            Hussain-AlqatariHussain-Alqatari

            3187




            3187












            • $begingroup$
              how did you come up with this formula?
              $endgroup$
              – Maged Saeed
              Dec 12 '18 at 2:03


















            • $begingroup$
              how did you come up with this formula?
              $endgroup$
              – Maged Saeed
              Dec 12 '18 at 2:03
















            $begingroup$
            how did you come up with this formula?
            $endgroup$
            – Maged Saeed
            Dec 12 '18 at 2:03




            $begingroup$
            how did you come up with this formula?
            $endgroup$
            – Maged Saeed
            Dec 12 '18 at 2:03


















            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%2f3032376%2fabout-the-sum-of-positive-divisors-of-n%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

            Wiesbaden

            Marschland

            Dieringhausen