Existence of divisor of multiple of primes congruent to 1 mod 4











up vote
3
down vote

favorite
1












Show that for every prime $pequiv 1pmod 4$, there exists positive integers, $n,m$ such that



$$n(4m-p)-1mid mp$$



Or equivalent, if we let $m= frac{p+4k+3}{4}$,



$$n(4k+3)-1mid pleft(frac{p+4k+3}{4}right)$$



Often we can find solutions to



$$n(4k+3)-1= p $$



but this isn’t always true. For example, there are no such solutions for $p=73$. Instead we can pick $n=3$, $k=1$, to get $20mid 73cdot 20$



Update: on further investigation this is simply a potential special case solution of the Erdos-Strauss conjecture since
$l(m(4n-p)-1)=mp$ can be arranged to $frac{4}{p} = frac{1}{mnp}+frac{1}{n}+frac{1}{ln}$.










share|cite|improve this question




























    up vote
    3
    down vote

    favorite
    1












    Show that for every prime $pequiv 1pmod 4$, there exists positive integers, $n,m$ such that



    $$n(4m-p)-1mid mp$$



    Or equivalent, if we let $m= frac{p+4k+3}{4}$,



    $$n(4k+3)-1mid pleft(frac{p+4k+3}{4}right)$$



    Often we can find solutions to



    $$n(4k+3)-1= p $$



    but this isn’t always true. For example, there are no such solutions for $p=73$. Instead we can pick $n=3$, $k=1$, to get $20mid 73cdot 20$



    Update: on further investigation this is simply a potential special case solution of the Erdos-Strauss conjecture since
    $l(m(4n-p)-1)=mp$ can be arranged to $frac{4}{p} = frac{1}{mnp}+frac{1}{n}+frac{1}{ln}$.










    share|cite|improve this question


























      up vote
      3
      down vote

      favorite
      1









      up vote
      3
      down vote

      favorite
      1






      1





      Show that for every prime $pequiv 1pmod 4$, there exists positive integers, $n,m$ such that



      $$n(4m-p)-1mid mp$$



      Or equivalent, if we let $m= frac{p+4k+3}{4}$,



      $$n(4k+3)-1mid pleft(frac{p+4k+3}{4}right)$$



      Often we can find solutions to



      $$n(4k+3)-1= p $$



      but this isn’t always true. For example, there are no such solutions for $p=73$. Instead we can pick $n=3$, $k=1$, to get $20mid 73cdot 20$



      Update: on further investigation this is simply a potential special case solution of the Erdos-Strauss conjecture since
      $l(m(4n-p)-1)=mp$ can be arranged to $frac{4}{p} = frac{1}{mnp}+frac{1}{n}+frac{1}{ln}$.










      share|cite|improve this question















      Show that for every prime $pequiv 1pmod 4$, there exists positive integers, $n,m$ such that



      $$n(4m-p)-1mid mp$$



      Or equivalent, if we let $m= frac{p+4k+3}{4}$,



      $$n(4k+3)-1mid pleft(frac{p+4k+3}{4}right)$$



      Often we can find solutions to



      $$n(4k+3)-1= p $$



      but this isn’t always true. For example, there are no such solutions for $p=73$. Instead we can pick $n=3$, $k=1$, to get $20mid 73cdot 20$



      Update: on further investigation this is simply a potential special case solution of the Erdos-Strauss conjecture since
      $l(m(4n-p)-1)=mp$ can be arranged to $frac{4}{p} = frac{1}{mnp}+frac{1}{n}+frac{1}{ln}$.







      number-theory prime-numbers modular-arithmetic divisibility






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Dec 6 at 16:10

























      asked Dec 5 at 3:12









      tyobrien

      1,166513




      1,166513






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          We solve the problem in the following way:




          Proposition. Let $pequiv 1pmod 4$, then there exists positive integers $m,n$ such that
          $$
          n(4m-p)-1 mid m
          $$




          Hence $n(4m-p)-1$ will also divide $mp$. This does not depend on $p$ being prime.





          Proof. If $p=3$, we let $(m,n)=(1,2)$ so that
          $$
          n(4m-p)-1 = 2(4-3)-1 = 1
          $$



          Otherwise, we may assume $pequiv 1,2pmod 3$. Since $pequiv 1pmod 4$, this means
          $pequiv 1,5 pmod{12}$.





          Case 1: $pequiv 1 pmod {12}$



          We split this into two cases instead: $pequiv 1,13pmod{24}$. First let $p=1+24r$. We set $(m,n)=(6r,1)$, so that
          $$
          n(4m-p)-1 = (24r-(1+24r))-1 = -2
          $$

          which divides $m=6r$.



          For the second case of $p=13+24r$, we set $(m,n)=(6r+4,1)$, giving
          $$
          n(4m-p)-1 = (24r+16-(13+24r))-1 = 2
          $$

          which also divides $m=2(3r+2)$.





          Case 2: $p equiv 5 pmod {12}$.



          Similarly we split this into two cases, $pequiv 5,17 pmod{24}$. For $p=5+24r$, we set $(m,n) = (6r+2,1)$. This gives
          $$
          n(4m-p)-1 = (24r+8-(5+24r))-1 = 2
          $$

          which divides $m=2(3r+1)$.



          For the other case of $p=17+24r$, we use $(m,n) = (6r+4,1)$ to get
          $$
          n(4m-p)-1 = (24r+16-(17+24r))-1=-2,
          $$

          which also divides $m=2(3r+2)$.



          $$
          tag*{$square$}
          $$





          Extras.



          It seems trickier to require $n(4m-p)-1=dp$ for some positive integer $d$ instead. In particular, it is related to another unanswered problem. (The relationship being this is a sub-problem of that, which has a more general $p$ instead of prime.)



          For the case of $pequiv 5 pmod 8$, there is a straightforward answer.





          Case 1: $pequiv 5 pmod 8$



          The approach is to set $n(4m-p)-1=p$.

          Let $pequiv 5 pmod 8$ and write $p=5+8r$. Choose $n=2$ and set
          $$
          m=frac{1}{4}left(frac{p+1}{n}+p right)
          $$

          Then
          $$
          frac{p+1}{n} = frac{6+8r}{2} = 3+4requiv 3 pmod 4
          $$

          Since $pequiv 1 pmod 4$, $m$ is an integer.



          Now we observe that
          $$
          n(4m-p)-1 = nleft(frac{p+1}{n}+p - pright)-1= (p+1)-1=p
          $$

          Therefore
          $$
          n(4m-p)-1 = p mid mp
          $$





          Case 2: $pequiv 1 pmod 8$



          The previous method cannot still work because $m$ is not integral for $pequiv 1 pmod 8$.





          Connection to another problem



          The other problem is as follows:




          Let $ 5< p=a^2+b^2$ be odd and squarefree. Show that there exists positive integers $1leq m$ and $7 leq kequiv 3pmod 4$ such that
          $$
          X^2-mkX+mfrac{(kp+1)}{4} = 0
          $$

          has integer roots.




          Suppose we can always find a solution of the form
          $$
          n(4m-p)-1 = dp mid mp
          $$

          for some positive integers $(m,n,d)$. Then $d$ divides $m$, so we may replace $m$ with $dm$. i.e. solving
          $$
          n(4dm-p)-1 = dp mid (dm)p
          $$

          Let $n=k-d$ and $w=k-2d$, then this becomes
          $$
          begin{align*}
          n(4md-p)-1 &= dp\
          (k-d)(4md-p) &= dp+1\
          4md(k-d) &= kp+1\
          m(2d)(2k-2d) &= kp+1\
          m(k-w)(k+w) &= kp+1\
          mk^2-kp-1 &= mw^2\
          m^2k^2-mkp-m &= (mw)^2
          end{align*}
          $$

          Now since $m^2k^2-mkp-m$ is the discriminant $D$ of the equation
          $$
          X^2-mkX+mfrac{kq+1}{4}=0
          $$

          This shows that the equation has solutions
          $$
          frac{mkpm sqrt{D}}{2} = frac{mk pm mw}{2}
          $$

          which must be integral (either $m$ even or $k$ and $w$ can be shown to be odd).



          We also require $kequiv 3pmod 4$, which can be shown as follows:
          $$
          begin{align*}
          n(4m-p)-1 &= dp\
          (k-d)(4m-p)-1 &= dp\
          (k-d)(-1)-1 &equiv d pmod 4\
          d-k-1 &equiv d pmod 4\
          k &equiv 3 pmod 4
          end{align*}
          $$

          Since $k=n+d$ it is always positive, but there is a small problem that it might be equal to $3$.






          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: 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%2f3026555%2fexistence-of-divisor-of-multiple-of-primes-congruent-to-1-mod-4%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








            up vote
            0
            down vote













            We solve the problem in the following way:




            Proposition. Let $pequiv 1pmod 4$, then there exists positive integers $m,n$ such that
            $$
            n(4m-p)-1 mid m
            $$




            Hence $n(4m-p)-1$ will also divide $mp$. This does not depend on $p$ being prime.





            Proof. If $p=3$, we let $(m,n)=(1,2)$ so that
            $$
            n(4m-p)-1 = 2(4-3)-1 = 1
            $$



            Otherwise, we may assume $pequiv 1,2pmod 3$. Since $pequiv 1pmod 4$, this means
            $pequiv 1,5 pmod{12}$.





            Case 1: $pequiv 1 pmod {12}$



            We split this into two cases instead: $pequiv 1,13pmod{24}$. First let $p=1+24r$. We set $(m,n)=(6r,1)$, so that
            $$
            n(4m-p)-1 = (24r-(1+24r))-1 = -2
            $$

            which divides $m=6r$.



            For the second case of $p=13+24r$, we set $(m,n)=(6r+4,1)$, giving
            $$
            n(4m-p)-1 = (24r+16-(13+24r))-1 = 2
            $$

            which also divides $m=2(3r+2)$.





            Case 2: $p equiv 5 pmod {12}$.



            Similarly we split this into two cases, $pequiv 5,17 pmod{24}$. For $p=5+24r$, we set $(m,n) = (6r+2,1)$. This gives
            $$
            n(4m-p)-1 = (24r+8-(5+24r))-1 = 2
            $$

            which divides $m=2(3r+1)$.



            For the other case of $p=17+24r$, we use $(m,n) = (6r+4,1)$ to get
            $$
            n(4m-p)-1 = (24r+16-(17+24r))-1=-2,
            $$

            which also divides $m=2(3r+2)$.



            $$
            tag*{$square$}
            $$





            Extras.



            It seems trickier to require $n(4m-p)-1=dp$ for some positive integer $d$ instead. In particular, it is related to another unanswered problem. (The relationship being this is a sub-problem of that, which has a more general $p$ instead of prime.)



            For the case of $pequiv 5 pmod 8$, there is a straightforward answer.





            Case 1: $pequiv 5 pmod 8$



            The approach is to set $n(4m-p)-1=p$.

            Let $pequiv 5 pmod 8$ and write $p=5+8r$. Choose $n=2$ and set
            $$
            m=frac{1}{4}left(frac{p+1}{n}+p right)
            $$

            Then
            $$
            frac{p+1}{n} = frac{6+8r}{2} = 3+4requiv 3 pmod 4
            $$

            Since $pequiv 1 pmod 4$, $m$ is an integer.



            Now we observe that
            $$
            n(4m-p)-1 = nleft(frac{p+1}{n}+p - pright)-1= (p+1)-1=p
            $$

            Therefore
            $$
            n(4m-p)-1 = p mid mp
            $$





            Case 2: $pequiv 1 pmod 8$



            The previous method cannot still work because $m$ is not integral for $pequiv 1 pmod 8$.





            Connection to another problem



            The other problem is as follows:




            Let $ 5< p=a^2+b^2$ be odd and squarefree. Show that there exists positive integers $1leq m$ and $7 leq kequiv 3pmod 4$ such that
            $$
            X^2-mkX+mfrac{(kp+1)}{4} = 0
            $$

            has integer roots.




            Suppose we can always find a solution of the form
            $$
            n(4m-p)-1 = dp mid mp
            $$

            for some positive integers $(m,n,d)$. Then $d$ divides $m$, so we may replace $m$ with $dm$. i.e. solving
            $$
            n(4dm-p)-1 = dp mid (dm)p
            $$

            Let $n=k-d$ and $w=k-2d$, then this becomes
            $$
            begin{align*}
            n(4md-p)-1 &= dp\
            (k-d)(4md-p) &= dp+1\
            4md(k-d) &= kp+1\
            m(2d)(2k-2d) &= kp+1\
            m(k-w)(k+w) &= kp+1\
            mk^2-kp-1 &= mw^2\
            m^2k^2-mkp-m &= (mw)^2
            end{align*}
            $$

            Now since $m^2k^2-mkp-m$ is the discriminant $D$ of the equation
            $$
            X^2-mkX+mfrac{kq+1}{4}=0
            $$

            This shows that the equation has solutions
            $$
            frac{mkpm sqrt{D}}{2} = frac{mk pm mw}{2}
            $$

            which must be integral (either $m$ even or $k$ and $w$ can be shown to be odd).



            We also require $kequiv 3pmod 4$, which can be shown as follows:
            $$
            begin{align*}
            n(4m-p)-1 &= dp\
            (k-d)(4m-p)-1 &= dp\
            (k-d)(-1)-1 &equiv d pmod 4\
            d-k-1 &equiv d pmod 4\
            k &equiv 3 pmod 4
            end{align*}
            $$

            Since $k=n+d$ it is always positive, but there is a small problem that it might be equal to $3$.






            share|cite|improve this answer

























              up vote
              0
              down vote













              We solve the problem in the following way:




              Proposition. Let $pequiv 1pmod 4$, then there exists positive integers $m,n$ such that
              $$
              n(4m-p)-1 mid m
              $$




              Hence $n(4m-p)-1$ will also divide $mp$. This does not depend on $p$ being prime.





              Proof. If $p=3$, we let $(m,n)=(1,2)$ so that
              $$
              n(4m-p)-1 = 2(4-3)-1 = 1
              $$



              Otherwise, we may assume $pequiv 1,2pmod 3$. Since $pequiv 1pmod 4$, this means
              $pequiv 1,5 pmod{12}$.





              Case 1: $pequiv 1 pmod {12}$



              We split this into two cases instead: $pequiv 1,13pmod{24}$. First let $p=1+24r$. We set $(m,n)=(6r,1)$, so that
              $$
              n(4m-p)-1 = (24r-(1+24r))-1 = -2
              $$

              which divides $m=6r$.



              For the second case of $p=13+24r$, we set $(m,n)=(6r+4,1)$, giving
              $$
              n(4m-p)-1 = (24r+16-(13+24r))-1 = 2
              $$

              which also divides $m=2(3r+2)$.





              Case 2: $p equiv 5 pmod {12}$.



              Similarly we split this into two cases, $pequiv 5,17 pmod{24}$. For $p=5+24r$, we set $(m,n) = (6r+2,1)$. This gives
              $$
              n(4m-p)-1 = (24r+8-(5+24r))-1 = 2
              $$

              which divides $m=2(3r+1)$.



              For the other case of $p=17+24r$, we use $(m,n) = (6r+4,1)$ to get
              $$
              n(4m-p)-1 = (24r+16-(17+24r))-1=-2,
              $$

              which also divides $m=2(3r+2)$.



              $$
              tag*{$square$}
              $$





              Extras.



              It seems trickier to require $n(4m-p)-1=dp$ for some positive integer $d$ instead. In particular, it is related to another unanswered problem. (The relationship being this is a sub-problem of that, which has a more general $p$ instead of prime.)



              For the case of $pequiv 5 pmod 8$, there is a straightforward answer.





              Case 1: $pequiv 5 pmod 8$



              The approach is to set $n(4m-p)-1=p$.

              Let $pequiv 5 pmod 8$ and write $p=5+8r$. Choose $n=2$ and set
              $$
              m=frac{1}{4}left(frac{p+1}{n}+p right)
              $$

              Then
              $$
              frac{p+1}{n} = frac{6+8r}{2} = 3+4requiv 3 pmod 4
              $$

              Since $pequiv 1 pmod 4$, $m$ is an integer.



              Now we observe that
              $$
              n(4m-p)-1 = nleft(frac{p+1}{n}+p - pright)-1= (p+1)-1=p
              $$

              Therefore
              $$
              n(4m-p)-1 = p mid mp
              $$





              Case 2: $pequiv 1 pmod 8$



              The previous method cannot still work because $m$ is not integral for $pequiv 1 pmod 8$.





              Connection to another problem



              The other problem is as follows:




              Let $ 5< p=a^2+b^2$ be odd and squarefree. Show that there exists positive integers $1leq m$ and $7 leq kequiv 3pmod 4$ such that
              $$
              X^2-mkX+mfrac{(kp+1)}{4} = 0
              $$

              has integer roots.




              Suppose we can always find a solution of the form
              $$
              n(4m-p)-1 = dp mid mp
              $$

              for some positive integers $(m,n,d)$. Then $d$ divides $m$, so we may replace $m$ with $dm$. i.e. solving
              $$
              n(4dm-p)-1 = dp mid (dm)p
              $$

              Let $n=k-d$ and $w=k-2d$, then this becomes
              $$
              begin{align*}
              n(4md-p)-1 &= dp\
              (k-d)(4md-p) &= dp+1\
              4md(k-d) &= kp+1\
              m(2d)(2k-2d) &= kp+1\
              m(k-w)(k+w) &= kp+1\
              mk^2-kp-1 &= mw^2\
              m^2k^2-mkp-m &= (mw)^2
              end{align*}
              $$

              Now since $m^2k^2-mkp-m$ is the discriminant $D$ of the equation
              $$
              X^2-mkX+mfrac{kq+1}{4}=0
              $$

              This shows that the equation has solutions
              $$
              frac{mkpm sqrt{D}}{2} = frac{mk pm mw}{2}
              $$

              which must be integral (either $m$ even or $k$ and $w$ can be shown to be odd).



              We also require $kequiv 3pmod 4$, which can be shown as follows:
              $$
              begin{align*}
              n(4m-p)-1 &= dp\
              (k-d)(4m-p)-1 &= dp\
              (k-d)(-1)-1 &equiv d pmod 4\
              d-k-1 &equiv d pmod 4\
              k &equiv 3 pmod 4
              end{align*}
              $$

              Since $k=n+d$ it is always positive, but there is a small problem that it might be equal to $3$.






              share|cite|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                We solve the problem in the following way:




                Proposition. Let $pequiv 1pmod 4$, then there exists positive integers $m,n$ such that
                $$
                n(4m-p)-1 mid m
                $$




                Hence $n(4m-p)-1$ will also divide $mp$. This does not depend on $p$ being prime.





                Proof. If $p=3$, we let $(m,n)=(1,2)$ so that
                $$
                n(4m-p)-1 = 2(4-3)-1 = 1
                $$



                Otherwise, we may assume $pequiv 1,2pmod 3$. Since $pequiv 1pmod 4$, this means
                $pequiv 1,5 pmod{12}$.





                Case 1: $pequiv 1 pmod {12}$



                We split this into two cases instead: $pequiv 1,13pmod{24}$. First let $p=1+24r$. We set $(m,n)=(6r,1)$, so that
                $$
                n(4m-p)-1 = (24r-(1+24r))-1 = -2
                $$

                which divides $m=6r$.



                For the second case of $p=13+24r$, we set $(m,n)=(6r+4,1)$, giving
                $$
                n(4m-p)-1 = (24r+16-(13+24r))-1 = 2
                $$

                which also divides $m=2(3r+2)$.





                Case 2: $p equiv 5 pmod {12}$.



                Similarly we split this into two cases, $pequiv 5,17 pmod{24}$. For $p=5+24r$, we set $(m,n) = (6r+2,1)$. This gives
                $$
                n(4m-p)-1 = (24r+8-(5+24r))-1 = 2
                $$

                which divides $m=2(3r+1)$.



                For the other case of $p=17+24r$, we use $(m,n) = (6r+4,1)$ to get
                $$
                n(4m-p)-1 = (24r+16-(17+24r))-1=-2,
                $$

                which also divides $m=2(3r+2)$.



                $$
                tag*{$square$}
                $$





                Extras.



                It seems trickier to require $n(4m-p)-1=dp$ for some positive integer $d$ instead. In particular, it is related to another unanswered problem. (The relationship being this is a sub-problem of that, which has a more general $p$ instead of prime.)



                For the case of $pequiv 5 pmod 8$, there is a straightforward answer.





                Case 1: $pequiv 5 pmod 8$



                The approach is to set $n(4m-p)-1=p$.

                Let $pequiv 5 pmod 8$ and write $p=5+8r$. Choose $n=2$ and set
                $$
                m=frac{1}{4}left(frac{p+1}{n}+p right)
                $$

                Then
                $$
                frac{p+1}{n} = frac{6+8r}{2} = 3+4requiv 3 pmod 4
                $$

                Since $pequiv 1 pmod 4$, $m$ is an integer.



                Now we observe that
                $$
                n(4m-p)-1 = nleft(frac{p+1}{n}+p - pright)-1= (p+1)-1=p
                $$

                Therefore
                $$
                n(4m-p)-1 = p mid mp
                $$





                Case 2: $pequiv 1 pmod 8$



                The previous method cannot still work because $m$ is not integral for $pequiv 1 pmod 8$.





                Connection to another problem



                The other problem is as follows:




                Let $ 5< p=a^2+b^2$ be odd and squarefree. Show that there exists positive integers $1leq m$ and $7 leq kequiv 3pmod 4$ such that
                $$
                X^2-mkX+mfrac{(kp+1)}{4} = 0
                $$

                has integer roots.




                Suppose we can always find a solution of the form
                $$
                n(4m-p)-1 = dp mid mp
                $$

                for some positive integers $(m,n,d)$. Then $d$ divides $m$, so we may replace $m$ with $dm$. i.e. solving
                $$
                n(4dm-p)-1 = dp mid (dm)p
                $$

                Let $n=k-d$ and $w=k-2d$, then this becomes
                $$
                begin{align*}
                n(4md-p)-1 &= dp\
                (k-d)(4md-p) &= dp+1\
                4md(k-d) &= kp+1\
                m(2d)(2k-2d) &= kp+1\
                m(k-w)(k+w) &= kp+1\
                mk^2-kp-1 &= mw^2\
                m^2k^2-mkp-m &= (mw)^2
                end{align*}
                $$

                Now since $m^2k^2-mkp-m$ is the discriminant $D$ of the equation
                $$
                X^2-mkX+mfrac{kq+1}{4}=0
                $$

                This shows that the equation has solutions
                $$
                frac{mkpm sqrt{D}}{2} = frac{mk pm mw}{2}
                $$

                which must be integral (either $m$ even or $k$ and $w$ can be shown to be odd).



                We also require $kequiv 3pmod 4$, which can be shown as follows:
                $$
                begin{align*}
                n(4m-p)-1 &= dp\
                (k-d)(4m-p)-1 &= dp\
                (k-d)(-1)-1 &equiv d pmod 4\
                d-k-1 &equiv d pmod 4\
                k &equiv 3 pmod 4
                end{align*}
                $$

                Since $k=n+d$ it is always positive, but there is a small problem that it might be equal to $3$.






                share|cite|improve this answer












                We solve the problem in the following way:




                Proposition. Let $pequiv 1pmod 4$, then there exists positive integers $m,n$ such that
                $$
                n(4m-p)-1 mid m
                $$




                Hence $n(4m-p)-1$ will also divide $mp$. This does not depend on $p$ being prime.





                Proof. If $p=3$, we let $(m,n)=(1,2)$ so that
                $$
                n(4m-p)-1 = 2(4-3)-1 = 1
                $$



                Otherwise, we may assume $pequiv 1,2pmod 3$. Since $pequiv 1pmod 4$, this means
                $pequiv 1,5 pmod{12}$.





                Case 1: $pequiv 1 pmod {12}$



                We split this into two cases instead: $pequiv 1,13pmod{24}$. First let $p=1+24r$. We set $(m,n)=(6r,1)$, so that
                $$
                n(4m-p)-1 = (24r-(1+24r))-1 = -2
                $$

                which divides $m=6r$.



                For the second case of $p=13+24r$, we set $(m,n)=(6r+4,1)$, giving
                $$
                n(4m-p)-1 = (24r+16-(13+24r))-1 = 2
                $$

                which also divides $m=2(3r+2)$.





                Case 2: $p equiv 5 pmod {12}$.



                Similarly we split this into two cases, $pequiv 5,17 pmod{24}$. For $p=5+24r$, we set $(m,n) = (6r+2,1)$. This gives
                $$
                n(4m-p)-1 = (24r+8-(5+24r))-1 = 2
                $$

                which divides $m=2(3r+1)$.



                For the other case of $p=17+24r$, we use $(m,n) = (6r+4,1)$ to get
                $$
                n(4m-p)-1 = (24r+16-(17+24r))-1=-2,
                $$

                which also divides $m=2(3r+2)$.



                $$
                tag*{$square$}
                $$





                Extras.



                It seems trickier to require $n(4m-p)-1=dp$ for some positive integer $d$ instead. In particular, it is related to another unanswered problem. (The relationship being this is a sub-problem of that, which has a more general $p$ instead of prime.)



                For the case of $pequiv 5 pmod 8$, there is a straightforward answer.





                Case 1: $pequiv 5 pmod 8$



                The approach is to set $n(4m-p)-1=p$.

                Let $pequiv 5 pmod 8$ and write $p=5+8r$. Choose $n=2$ and set
                $$
                m=frac{1}{4}left(frac{p+1}{n}+p right)
                $$

                Then
                $$
                frac{p+1}{n} = frac{6+8r}{2} = 3+4requiv 3 pmod 4
                $$

                Since $pequiv 1 pmod 4$, $m$ is an integer.



                Now we observe that
                $$
                n(4m-p)-1 = nleft(frac{p+1}{n}+p - pright)-1= (p+1)-1=p
                $$

                Therefore
                $$
                n(4m-p)-1 = p mid mp
                $$





                Case 2: $pequiv 1 pmod 8$



                The previous method cannot still work because $m$ is not integral for $pequiv 1 pmod 8$.





                Connection to another problem



                The other problem is as follows:




                Let $ 5< p=a^2+b^2$ be odd and squarefree. Show that there exists positive integers $1leq m$ and $7 leq kequiv 3pmod 4$ such that
                $$
                X^2-mkX+mfrac{(kp+1)}{4} = 0
                $$

                has integer roots.




                Suppose we can always find a solution of the form
                $$
                n(4m-p)-1 = dp mid mp
                $$

                for some positive integers $(m,n,d)$. Then $d$ divides $m$, so we may replace $m$ with $dm$. i.e. solving
                $$
                n(4dm-p)-1 = dp mid (dm)p
                $$

                Let $n=k-d$ and $w=k-2d$, then this becomes
                $$
                begin{align*}
                n(4md-p)-1 &= dp\
                (k-d)(4md-p) &= dp+1\
                4md(k-d) &= kp+1\
                m(2d)(2k-2d) &= kp+1\
                m(k-w)(k+w) &= kp+1\
                mk^2-kp-1 &= mw^2\
                m^2k^2-mkp-m &= (mw)^2
                end{align*}
                $$

                Now since $m^2k^2-mkp-m$ is the discriminant $D$ of the equation
                $$
                X^2-mkX+mfrac{kq+1}{4}=0
                $$

                This shows that the equation has solutions
                $$
                frac{mkpm sqrt{D}}{2} = frac{mk pm mw}{2}
                $$

                which must be integral (either $m$ even or $k$ and $w$ can be shown to be odd).



                We also require $kequiv 3pmod 4$, which can be shown as follows:
                $$
                begin{align*}
                n(4m-p)-1 &= dp\
                (k-d)(4m-p)-1 &= dp\
                (k-d)(-1)-1 &equiv d pmod 4\
                d-k-1 &equiv d pmod 4\
                k &equiv 3 pmod 4
                end{align*}
                $$

                Since $k=n+d$ it is always positive, but there is a small problem that it might be equal to $3$.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Dec 11 at 8:49









                Yong Hao Ng

                3,1691220




                3,1691220






























                    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.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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.


                    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%2f3026555%2fexistence-of-divisor-of-multiple-of-primes-congruent-to-1-mod-4%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

                    Bressuire

                    Cabo Verde

                    Gyllenstierna