Can $5^n+1$ be sum of two squares? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)How many numbers below $100$ can be expressed as a difference of two perfect squares in only one way?sum of 4 squares$2017$ as the sum of two squaresIs it known whether any positive integer can be written as the sum of $n$ different squares?What is the probability that a natural number is a sum of two squares?Show that if $nequiv 3, 6 pmod9 $ then $n$ is not a sum of two squaresThe numbers that can be written as the sum of squares of two **natural** numbersCan two the sum of two primitive perfect squares be equal? $a^2+b^2 = c^2 + d^2$?Perfect square as sum of two perfect squaresCan the sum of two squares be used to factor large numbers?

How do I use the new nonlinear finite element in Mathematica 12 for this equation?

Drawing without replacement: why is the order of draw irrelevant?

How would a mousetrap for use in space work?

AppleTVs create a chatty alternate WiFi network

Why should I vote and accept answers?

Performance gap between vector<bool> and array

Is CEO the "profession" with the most psychopaths?

An adverb for when you're not exaggerating

Why does it sometimes sound good to play a grace note as a lead in to a note in a melody?

Can anything be seen from the center of the Boötes void? How dark would it be?

Why is the AVR GCC compiler using a full `CALL` even though I have set the `-mshort-calls` flag?

Is there a kind of relay only consumes power when switching?

SF book about people trapped in a series of worlds they imagine

Why weren't discrete x86 CPUs ever used in game hardware?

What does it mean that physics no longer uses mechanical models to describe phenomena?

How do living politicians protect their readily obtainable signatures from misuse?

Effects on objects due to a brief relocation of massive amounts of mass

Should I follow up with an employee I believe overracted to a mistake I made?

What is the topology associated with the algebras for the ultrafilter monad?

Is there any word for a place full of confusion?

Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?

Illegal assignment from sObject to Id

How to tell that you are a giant?

Why is Nikon 1.4g better when Nikon 1.8g is sharper?



Can $5^n+1$ be sum of two squares?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)How many numbers below $100$ can be expressed as a difference of two perfect squares in only one way?sum of 4 squares$2017$ as the sum of two squaresIs it known whether any positive integer can be written as the sum of $n$ different squares?What is the probability that a natural number is a sum of two squares?Show that if $nequiv 3, 6 pmod9 $ then $n$ is not a sum of two squaresThe numbers that can be written as the sum of squares of two **natural** numbersCan two the sum of two primitive perfect squares be equal? $a^2+b^2 = c^2 + d^2$?Perfect square as sum of two perfect squaresCan the sum of two squares be used to factor large numbers?










1












$begingroup$


I want to determine whether or not $5^n+1$ , $ninmathbbN$ can be written as sum of two squares.
Obviously, the real problem is when $n$ is odd. I am aware of the known results about numbers written as sum if squares, but I couldn't apply them here. We can see that when $n$ is odd, $5^n+1$ ia divisible by 6 and gives reminder 2 when divided by 4 which means that the two squares we would have to add must end in 1 and 9 or 5 and 5.










share|cite|improve this question











$endgroup$







  • 1




    $begingroup$
    Don't you mean $n in mathbb N$?
    $endgroup$
    – fleablood
    Mar 27 at 16:47










  • $begingroup$
    Yes. I edited the question
    $endgroup$
    – Andrew V
    Mar 27 at 16:48










  • $begingroup$
    How would you write $5^1 + 1$ as the sum of two squares. $6= 0+6;1+5; 2+4;3+3$ none of which work.
    $endgroup$
    – fleablood
    Mar 27 at 16:48










  • $begingroup$
    $5^4+1=1^2+25^2$, is an obvious example....similarly for all even $n>2$. But, say, $5^3+1$ can not be so written.
    $endgroup$
    – lulu
    Mar 27 at 16:49











  • $begingroup$
    Note: if $n$ is odd, then $5^n+1$ is divisible by $3$. That doesn't rule it out, of course, but you would need an even power of $3$ to divide it...and then there are the other primes congruent to $3pmod 4$. Seems difficult to find an odd example.
    $endgroup$
    – lulu
    Mar 27 at 16:53















1












$begingroup$


I want to determine whether or not $5^n+1$ , $ninmathbbN$ can be written as sum of two squares.
Obviously, the real problem is when $n$ is odd. I am aware of the known results about numbers written as sum if squares, but I couldn't apply them here. We can see that when $n$ is odd, $5^n+1$ ia divisible by 6 and gives reminder 2 when divided by 4 which means that the two squares we would have to add must end in 1 and 9 or 5 and 5.










share|cite|improve this question











$endgroup$







  • 1




    $begingroup$
    Don't you mean $n in mathbb N$?
    $endgroup$
    – fleablood
    Mar 27 at 16:47










  • $begingroup$
    Yes. I edited the question
    $endgroup$
    – Andrew V
    Mar 27 at 16:48










  • $begingroup$
    How would you write $5^1 + 1$ as the sum of two squares. $6= 0+6;1+5; 2+4;3+3$ none of which work.
    $endgroup$
    – fleablood
    Mar 27 at 16:48










  • $begingroup$
    $5^4+1=1^2+25^2$, is an obvious example....similarly for all even $n>2$. But, say, $5^3+1$ can not be so written.
    $endgroup$
    – lulu
    Mar 27 at 16:49











  • $begingroup$
    Note: if $n$ is odd, then $5^n+1$ is divisible by $3$. That doesn't rule it out, of course, but you would need an even power of $3$ to divide it...and then there are the other primes congruent to $3pmod 4$. Seems difficult to find an odd example.
    $endgroup$
    – lulu
    Mar 27 at 16:53













1












1








1


3



$begingroup$


I want to determine whether or not $5^n+1$ , $ninmathbbN$ can be written as sum of two squares.
Obviously, the real problem is when $n$ is odd. I am aware of the known results about numbers written as sum if squares, but I couldn't apply them here. We can see that when $n$ is odd, $5^n+1$ ia divisible by 6 and gives reminder 2 when divided by 4 which means that the two squares we would have to add must end in 1 and 9 or 5 and 5.










share|cite|improve this question











$endgroup$




I want to determine whether or not $5^n+1$ , $ninmathbbN$ can be written as sum of two squares.
Obviously, the real problem is when $n$ is odd. I am aware of the known results about numbers written as sum if squares, but I couldn't apply them here. We can see that when $n$ is odd, $5^n+1$ ia divisible by 6 and gives reminder 2 when divided by 4 which means that the two squares we would have to add must end in 1 and 9 or 5 and 5.







number-theory sums-of-squares






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Mar 27 at 16:48







Andrew V

















asked Mar 27 at 16:41









Andrew VAndrew V

342111




342111







  • 1




    $begingroup$
    Don't you mean $n in mathbb N$?
    $endgroup$
    – fleablood
    Mar 27 at 16:47










  • $begingroup$
    Yes. I edited the question
    $endgroup$
    – Andrew V
    Mar 27 at 16:48










  • $begingroup$
    How would you write $5^1 + 1$ as the sum of two squares. $6= 0+6;1+5; 2+4;3+3$ none of which work.
    $endgroup$
    – fleablood
    Mar 27 at 16:48










  • $begingroup$
    $5^4+1=1^2+25^2$, is an obvious example....similarly for all even $n>2$. But, say, $5^3+1$ can not be so written.
    $endgroup$
    – lulu
    Mar 27 at 16:49











  • $begingroup$
    Note: if $n$ is odd, then $5^n+1$ is divisible by $3$. That doesn't rule it out, of course, but you would need an even power of $3$ to divide it...and then there are the other primes congruent to $3pmod 4$. Seems difficult to find an odd example.
    $endgroup$
    – lulu
    Mar 27 at 16:53












  • 1




    $begingroup$
    Don't you mean $n in mathbb N$?
    $endgroup$
    – fleablood
    Mar 27 at 16:47










  • $begingroup$
    Yes. I edited the question
    $endgroup$
    – Andrew V
    Mar 27 at 16:48










  • $begingroup$
    How would you write $5^1 + 1$ as the sum of two squares. $6= 0+6;1+5; 2+4;3+3$ none of which work.
    $endgroup$
    – fleablood
    Mar 27 at 16:48










  • $begingroup$
    $5^4+1=1^2+25^2$, is an obvious example....similarly for all even $n>2$. But, say, $5^3+1$ can not be so written.
    $endgroup$
    – lulu
    Mar 27 at 16:49











  • $begingroup$
    Note: if $n$ is odd, then $5^n+1$ is divisible by $3$. That doesn't rule it out, of course, but you would need an even power of $3$ to divide it...and then there are the other primes congruent to $3pmod 4$. Seems difficult to find an odd example.
    $endgroup$
    – lulu
    Mar 27 at 16:53







1




1




$begingroup$
Don't you mean $n in mathbb N$?
$endgroup$
– fleablood
Mar 27 at 16:47




$begingroup$
Don't you mean $n in mathbb N$?
$endgroup$
– fleablood
Mar 27 at 16:47












$begingroup$
Yes. I edited the question
$endgroup$
– Andrew V
Mar 27 at 16:48




$begingroup$
Yes. I edited the question
$endgroup$
– Andrew V
Mar 27 at 16:48












$begingroup$
How would you write $5^1 + 1$ as the sum of two squares. $6= 0+6;1+5; 2+4;3+3$ none of which work.
$endgroup$
– fleablood
Mar 27 at 16:48




$begingroup$
How would you write $5^1 + 1$ as the sum of two squares. $6= 0+6;1+5; 2+4;3+3$ none of which work.
$endgroup$
– fleablood
Mar 27 at 16:48












$begingroup$
$5^4+1=1^2+25^2$, is an obvious example....similarly for all even $n>2$. But, say, $5^3+1$ can not be so written.
$endgroup$
– lulu
Mar 27 at 16:49





$begingroup$
$5^4+1=1^2+25^2$, is an obvious example....similarly for all even $n>2$. But, say, $5^3+1$ can not be so written.
$endgroup$
– lulu
Mar 27 at 16:49













$begingroup$
Note: if $n$ is odd, then $5^n+1$ is divisible by $3$. That doesn't rule it out, of course, but you would need an even power of $3$ to divide it...and then there are the other primes congruent to $3pmod 4$. Seems difficult to find an odd example.
$endgroup$
– lulu
Mar 27 at 16:53




$begingroup$
Note: if $n$ is odd, then $5^n+1$ is divisible by $3$. That doesn't rule it out, of course, but you would need an even power of $3$ to divide it...and then there are the other primes congruent to $3pmod 4$. Seems difficult to find an odd example.
$endgroup$
– lulu
Mar 27 at 16:53










3 Answers
3






active

oldest

votes


















2












$begingroup$

Say $x^2 + y^2 = 5^n + 1$.



Looking mod 2, we get that $x^2 + y^2 = 0 mod 2$, so $x$ and $y$ have the same parity, and looking mod 4, we get that $x^2 + y^2 = 2 mod 4$, so $x$ and $y$ must both be odd.



Say $x = 2r + 1$ and $y = 2s+ 1$, so $$x^2 + y^2 = (2r + 1)^2 + (2s+1)^2 = 4(r^2 + r + s^2 + s) + 2 = 5^n + 1$$



or



$$4(r(r+1) + s(s+1)) = 5^n - 1$$



Now, the left side must be divisible by $8$, so $n$ must be even.






share|cite|improve this answer









$endgroup$








  • 6




    $begingroup$
    More briefly, for odd $n$, $5^n+1equiv 6 pmod 8$, but since squares can only be $0,1$ or $4 pmod 8$, no two can add up to $6 pmod 8$.
    $endgroup$
    – FredH
    Mar 27 at 18:06


















1












$begingroup$

You say that you're "aware of the known results about numbers written as sums of squares". Let's try to apply them here (just for fun, because the solution by @Michael Biro is perfectly elementary). We have the classical theorem : $xin mathbf N$ is a sum of two squares iff, for all primes $pequiv 3$ mod $4$, the $p$-adic valuation $v_p(x)$ is even. It's not perhaps superfluous to recall the principle of the proof : every $pequiv 1$ mod $4$ is a sum of two squares, so, by multiplicativity, it remains only to study the divisibility of $x$ by the primes $pequiv 3$ mod $4$. Such a prime $p$ is inert (i.e. remains prime) in the PID $mathbf Z[i]$, so if $x=a^2+b^2=(a+bi)(a-bi), p$ divides both the factors.



Now $3$ is inert and $5$ splits as $(2+i)(2-i)$ in $mathbf Z[i]$. But $ 5^2m+1 = (6-1)^2m+1=6^2m+1- 6^2m+...+6-1$ by the binomial formula, so $ 5^2m+1+1=6(6^2m-...+1)$, whose $3$-adic valuation is $1$. This shows that the exponent in your problem must be even.






share|cite|improve this answer









$endgroup$




















    0












    $begingroup$

    Partial observation



    Let $n=2m+1$



    $$5^n+1 mod 3 = 3 mod 3=0$$



    So $3|5^n+1$. We can reduce the cases by observating that:
    $$5^n+1equiv 0 mod 9 Rightarrow n=6k+3$$
    So if $nneq6k+3$, it can't be expressed as sum of two squares because it contains $3^1$ in its factorization. In that case it may be useful:



    $$5^6k+3+1=(5^2k+1+1)(5^4k+2-5^2k+1+1)$$



    Improvement



    Notice that :



    $$5^6k+3+1equiv 0 pmod 7$$



    So to be a sum of squares it must be:



    $$5^6k+3+1equiv 0 pmod49 Rightarrow kequiv 3 pmod 7 $$



    So our new exponents are of this form $$n_2=6(7k+3)+3=42k+21=21(2k+1)$$
    Now notice that:
    $$ n_1=6k+3=3(2k+1) $$
    $$ n_2=42k+21=3times7(2k+1) $$



    If we could prove that this process goes on infinitely than the thesis would be demonstrated. But i don't know how.



    :/






    share|cite|improve this answer











    $endgroup$












    • $begingroup$
      I think you can finish now with an argument mod $43$, since $5^21equiv-1$ mod $43$.
      $endgroup$
      – Barry Cipra
      Mar 27 at 18:08












    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/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%2f3164742%2fcan-5n1-be-sum-of-two-squares%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2












    $begingroup$

    Say $x^2 + y^2 = 5^n + 1$.



    Looking mod 2, we get that $x^2 + y^2 = 0 mod 2$, so $x$ and $y$ have the same parity, and looking mod 4, we get that $x^2 + y^2 = 2 mod 4$, so $x$ and $y$ must both be odd.



    Say $x = 2r + 1$ and $y = 2s+ 1$, so $$x^2 + y^2 = (2r + 1)^2 + (2s+1)^2 = 4(r^2 + r + s^2 + s) + 2 = 5^n + 1$$



    or



    $$4(r(r+1) + s(s+1)) = 5^n - 1$$



    Now, the left side must be divisible by $8$, so $n$ must be even.






    share|cite|improve this answer









    $endgroup$








    • 6




      $begingroup$
      More briefly, for odd $n$, $5^n+1equiv 6 pmod 8$, but since squares can only be $0,1$ or $4 pmod 8$, no two can add up to $6 pmod 8$.
      $endgroup$
      – FredH
      Mar 27 at 18:06















    2












    $begingroup$

    Say $x^2 + y^2 = 5^n + 1$.



    Looking mod 2, we get that $x^2 + y^2 = 0 mod 2$, so $x$ and $y$ have the same parity, and looking mod 4, we get that $x^2 + y^2 = 2 mod 4$, so $x$ and $y$ must both be odd.



    Say $x = 2r + 1$ and $y = 2s+ 1$, so $$x^2 + y^2 = (2r + 1)^2 + (2s+1)^2 = 4(r^2 + r + s^2 + s) + 2 = 5^n + 1$$



    or



    $$4(r(r+1) + s(s+1)) = 5^n - 1$$



    Now, the left side must be divisible by $8$, so $n$ must be even.






    share|cite|improve this answer









    $endgroup$








    • 6




      $begingroup$
      More briefly, for odd $n$, $5^n+1equiv 6 pmod 8$, but since squares can only be $0,1$ or $4 pmod 8$, no two can add up to $6 pmod 8$.
      $endgroup$
      – FredH
      Mar 27 at 18:06













    2












    2








    2





    $begingroup$

    Say $x^2 + y^2 = 5^n + 1$.



    Looking mod 2, we get that $x^2 + y^2 = 0 mod 2$, so $x$ and $y$ have the same parity, and looking mod 4, we get that $x^2 + y^2 = 2 mod 4$, so $x$ and $y$ must both be odd.



    Say $x = 2r + 1$ and $y = 2s+ 1$, so $$x^2 + y^2 = (2r + 1)^2 + (2s+1)^2 = 4(r^2 + r + s^2 + s) + 2 = 5^n + 1$$



    or



    $$4(r(r+1) + s(s+1)) = 5^n - 1$$



    Now, the left side must be divisible by $8$, so $n$ must be even.






    share|cite|improve this answer









    $endgroup$



    Say $x^2 + y^2 = 5^n + 1$.



    Looking mod 2, we get that $x^2 + y^2 = 0 mod 2$, so $x$ and $y$ have the same parity, and looking mod 4, we get that $x^2 + y^2 = 2 mod 4$, so $x$ and $y$ must both be odd.



    Say $x = 2r + 1$ and $y = 2s+ 1$, so $$x^2 + y^2 = (2r + 1)^2 + (2s+1)^2 = 4(r^2 + r + s^2 + s) + 2 = 5^n + 1$$



    or



    $$4(r(r+1) + s(s+1)) = 5^n - 1$$



    Now, the left side must be divisible by $8$, so $n$ must be even.







    share|cite|improve this answer












    share|cite|improve this answer



    share|cite|improve this answer










    answered Mar 27 at 18:01









    Michael BiroMichael Biro

    11.7k21931




    11.7k21931







    • 6




      $begingroup$
      More briefly, for odd $n$, $5^n+1equiv 6 pmod 8$, but since squares can only be $0,1$ or $4 pmod 8$, no two can add up to $6 pmod 8$.
      $endgroup$
      – FredH
      Mar 27 at 18:06












    • 6




      $begingroup$
      More briefly, for odd $n$, $5^n+1equiv 6 pmod 8$, but since squares can only be $0,1$ or $4 pmod 8$, no two can add up to $6 pmod 8$.
      $endgroup$
      – FredH
      Mar 27 at 18:06







    6




    6




    $begingroup$
    More briefly, for odd $n$, $5^n+1equiv 6 pmod 8$, but since squares can only be $0,1$ or $4 pmod 8$, no two can add up to $6 pmod 8$.
    $endgroup$
    – FredH
    Mar 27 at 18:06




    $begingroup$
    More briefly, for odd $n$, $5^n+1equiv 6 pmod 8$, but since squares can only be $0,1$ or $4 pmod 8$, no two can add up to $6 pmod 8$.
    $endgroup$
    – FredH
    Mar 27 at 18:06











    1












    $begingroup$

    You say that you're "aware of the known results about numbers written as sums of squares". Let's try to apply them here (just for fun, because the solution by @Michael Biro is perfectly elementary). We have the classical theorem : $xin mathbf N$ is a sum of two squares iff, for all primes $pequiv 3$ mod $4$, the $p$-adic valuation $v_p(x)$ is even. It's not perhaps superfluous to recall the principle of the proof : every $pequiv 1$ mod $4$ is a sum of two squares, so, by multiplicativity, it remains only to study the divisibility of $x$ by the primes $pequiv 3$ mod $4$. Such a prime $p$ is inert (i.e. remains prime) in the PID $mathbf Z[i]$, so if $x=a^2+b^2=(a+bi)(a-bi), p$ divides both the factors.



    Now $3$ is inert and $5$ splits as $(2+i)(2-i)$ in $mathbf Z[i]$. But $ 5^2m+1 = (6-1)^2m+1=6^2m+1- 6^2m+...+6-1$ by the binomial formula, so $ 5^2m+1+1=6(6^2m-...+1)$, whose $3$-adic valuation is $1$. This shows that the exponent in your problem must be even.






    share|cite|improve this answer









    $endgroup$

















      1












      $begingroup$

      You say that you're "aware of the known results about numbers written as sums of squares". Let's try to apply them here (just for fun, because the solution by @Michael Biro is perfectly elementary). We have the classical theorem : $xin mathbf N$ is a sum of two squares iff, for all primes $pequiv 3$ mod $4$, the $p$-adic valuation $v_p(x)$ is even. It's not perhaps superfluous to recall the principle of the proof : every $pequiv 1$ mod $4$ is a sum of two squares, so, by multiplicativity, it remains only to study the divisibility of $x$ by the primes $pequiv 3$ mod $4$. Such a prime $p$ is inert (i.e. remains prime) in the PID $mathbf Z[i]$, so if $x=a^2+b^2=(a+bi)(a-bi), p$ divides both the factors.



      Now $3$ is inert and $5$ splits as $(2+i)(2-i)$ in $mathbf Z[i]$. But $ 5^2m+1 = (6-1)^2m+1=6^2m+1- 6^2m+...+6-1$ by the binomial formula, so $ 5^2m+1+1=6(6^2m-...+1)$, whose $3$-adic valuation is $1$. This shows that the exponent in your problem must be even.






      share|cite|improve this answer









      $endgroup$















        1












        1








        1





        $begingroup$

        You say that you're "aware of the known results about numbers written as sums of squares". Let's try to apply them here (just for fun, because the solution by @Michael Biro is perfectly elementary). We have the classical theorem : $xin mathbf N$ is a sum of two squares iff, for all primes $pequiv 3$ mod $4$, the $p$-adic valuation $v_p(x)$ is even. It's not perhaps superfluous to recall the principle of the proof : every $pequiv 1$ mod $4$ is a sum of two squares, so, by multiplicativity, it remains only to study the divisibility of $x$ by the primes $pequiv 3$ mod $4$. Such a prime $p$ is inert (i.e. remains prime) in the PID $mathbf Z[i]$, so if $x=a^2+b^2=(a+bi)(a-bi), p$ divides both the factors.



        Now $3$ is inert and $5$ splits as $(2+i)(2-i)$ in $mathbf Z[i]$. But $ 5^2m+1 = (6-1)^2m+1=6^2m+1- 6^2m+...+6-1$ by the binomial formula, so $ 5^2m+1+1=6(6^2m-...+1)$, whose $3$-adic valuation is $1$. This shows that the exponent in your problem must be even.






        share|cite|improve this answer









        $endgroup$



        You say that you're "aware of the known results about numbers written as sums of squares". Let's try to apply them here (just for fun, because the solution by @Michael Biro is perfectly elementary). We have the classical theorem : $xin mathbf N$ is a sum of two squares iff, for all primes $pequiv 3$ mod $4$, the $p$-adic valuation $v_p(x)$ is even. It's not perhaps superfluous to recall the principle of the proof : every $pequiv 1$ mod $4$ is a sum of two squares, so, by multiplicativity, it remains only to study the divisibility of $x$ by the primes $pequiv 3$ mod $4$. Such a prime $p$ is inert (i.e. remains prime) in the PID $mathbf Z[i]$, so if $x=a^2+b^2=(a+bi)(a-bi), p$ divides both the factors.



        Now $3$ is inert and $5$ splits as $(2+i)(2-i)$ in $mathbf Z[i]$. But $ 5^2m+1 = (6-1)^2m+1=6^2m+1- 6^2m+...+6-1$ by the binomial formula, so $ 5^2m+1+1=6(6^2m-...+1)$, whose $3$-adic valuation is $1$. This shows that the exponent in your problem must be even.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Mar 29 at 8:58









        nguyen quang donguyen quang do

        9,2241724




        9,2241724





















            0












            $begingroup$

            Partial observation



            Let $n=2m+1$



            $$5^n+1 mod 3 = 3 mod 3=0$$



            So $3|5^n+1$. We can reduce the cases by observating that:
            $$5^n+1equiv 0 mod 9 Rightarrow n=6k+3$$
            So if $nneq6k+3$, it can't be expressed as sum of two squares because it contains $3^1$ in its factorization. In that case it may be useful:



            $$5^6k+3+1=(5^2k+1+1)(5^4k+2-5^2k+1+1)$$



            Improvement



            Notice that :



            $$5^6k+3+1equiv 0 pmod 7$$



            So to be a sum of squares it must be:



            $$5^6k+3+1equiv 0 pmod49 Rightarrow kequiv 3 pmod 7 $$



            So our new exponents are of this form $$n_2=6(7k+3)+3=42k+21=21(2k+1)$$
            Now notice that:
            $$ n_1=6k+3=3(2k+1) $$
            $$ n_2=42k+21=3times7(2k+1) $$



            If we could prove that this process goes on infinitely than the thesis would be demonstrated. But i don't know how.



            :/






            share|cite|improve this answer











            $endgroup$












            • $begingroup$
              I think you can finish now with an argument mod $43$, since $5^21equiv-1$ mod $43$.
              $endgroup$
              – Barry Cipra
              Mar 27 at 18:08
















            0












            $begingroup$

            Partial observation



            Let $n=2m+1$



            $$5^n+1 mod 3 = 3 mod 3=0$$



            So $3|5^n+1$. We can reduce the cases by observating that:
            $$5^n+1equiv 0 mod 9 Rightarrow n=6k+3$$
            So if $nneq6k+3$, it can't be expressed as sum of two squares because it contains $3^1$ in its factorization. In that case it may be useful:



            $$5^6k+3+1=(5^2k+1+1)(5^4k+2-5^2k+1+1)$$



            Improvement



            Notice that :



            $$5^6k+3+1equiv 0 pmod 7$$



            So to be a sum of squares it must be:



            $$5^6k+3+1equiv 0 pmod49 Rightarrow kequiv 3 pmod 7 $$



            So our new exponents are of this form $$n_2=6(7k+3)+3=42k+21=21(2k+1)$$
            Now notice that:
            $$ n_1=6k+3=3(2k+1) $$
            $$ n_2=42k+21=3times7(2k+1) $$



            If we could prove that this process goes on infinitely than the thesis would be demonstrated. But i don't know how.



            :/






            share|cite|improve this answer











            $endgroup$












            • $begingroup$
              I think you can finish now with an argument mod $43$, since $5^21equiv-1$ mod $43$.
              $endgroup$
              – Barry Cipra
              Mar 27 at 18:08














            0












            0








            0





            $begingroup$

            Partial observation



            Let $n=2m+1$



            $$5^n+1 mod 3 = 3 mod 3=0$$



            So $3|5^n+1$. We can reduce the cases by observating that:
            $$5^n+1equiv 0 mod 9 Rightarrow n=6k+3$$
            So if $nneq6k+3$, it can't be expressed as sum of two squares because it contains $3^1$ in its factorization. In that case it may be useful:



            $$5^6k+3+1=(5^2k+1+1)(5^4k+2-5^2k+1+1)$$



            Improvement



            Notice that :



            $$5^6k+3+1equiv 0 pmod 7$$



            So to be a sum of squares it must be:



            $$5^6k+3+1equiv 0 pmod49 Rightarrow kequiv 3 pmod 7 $$



            So our new exponents are of this form $$n_2=6(7k+3)+3=42k+21=21(2k+1)$$
            Now notice that:
            $$ n_1=6k+3=3(2k+1) $$
            $$ n_2=42k+21=3times7(2k+1) $$



            If we could prove that this process goes on infinitely than the thesis would be demonstrated. But i don't know how.



            :/






            share|cite|improve this answer











            $endgroup$



            Partial observation



            Let $n=2m+1$



            $$5^n+1 mod 3 = 3 mod 3=0$$



            So $3|5^n+1$. We can reduce the cases by observating that:
            $$5^n+1equiv 0 mod 9 Rightarrow n=6k+3$$
            So if $nneq6k+3$, it can't be expressed as sum of two squares because it contains $3^1$ in its factorization. In that case it may be useful:



            $$5^6k+3+1=(5^2k+1+1)(5^4k+2-5^2k+1+1)$$



            Improvement



            Notice that :



            $$5^6k+3+1equiv 0 pmod 7$$



            So to be a sum of squares it must be:



            $$5^6k+3+1equiv 0 pmod49 Rightarrow kequiv 3 pmod 7 $$



            So our new exponents are of this form $$n_2=6(7k+3)+3=42k+21=21(2k+1)$$
            Now notice that:
            $$ n_1=6k+3=3(2k+1) $$
            $$ n_2=42k+21=3times7(2k+1) $$



            If we could prove that this process goes on infinitely than the thesis would be demonstrated. But i don't know how.



            :/







            share|cite|improve this answer














            share|cite|improve this answer



            share|cite|improve this answer








            edited Mar 27 at 17:53

























            answered Mar 27 at 17:24









            EurekaEureka

            907115




            907115











            • $begingroup$
              I think you can finish now with an argument mod $43$, since $5^21equiv-1$ mod $43$.
              $endgroup$
              – Barry Cipra
              Mar 27 at 18:08

















            • $begingroup$
              I think you can finish now with an argument mod $43$, since $5^21equiv-1$ mod $43$.
              $endgroup$
              – Barry Cipra
              Mar 27 at 18:08
















            $begingroup$
            I think you can finish now with an argument mod $43$, since $5^21equiv-1$ mod $43$.
            $endgroup$
            – Barry Cipra
            Mar 27 at 18:08





            $begingroup$
            I think you can finish now with an argument mod $43$, since $5^21equiv-1$ mod $43$.
            $endgroup$
            – Barry Cipra
            Mar 27 at 18:08


















            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%2f3164742%2fcan-5n1-be-sum-of-two-squares%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

            Lowndes Grove History Architecture References Navigation menu32°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661132°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661178002500"National Register Information System"Historic houses of South Carolina"Lowndes Grove""+32° 48' 6.00", −79° 57' 58.00""Lowndes Grove, Charleston County (260 St. Margaret St., Charleston)""Lowndes Grove"The Charleston ExpositionIt Happened in South Carolina"Lowndes Grove (House), Saint Margaret Street & Sixth Avenue, Charleston, Charleston County, SC(Photographs)"Plantations of the Carolina Low Countrye

            random experiment with two different functions on unit interval Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Random variable and probability space notionsRandom Walk with EdgesFinding functions where the increase over a random interval is Poisson distributedNumber of days until dayCan an observed event in fact be of zero probability?Unit random processmodels of coins and uniform distributionHow to get the number of successes given $n$ trials , probability $P$ and a random variable $X$Absorbing Markov chain in a computer. Is “almost every” turned into always convergence in computer executions?Stopped random walk is not uniformly integrable

            How should I support this large drywall patch? Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How do I cover large gaps in drywall?How do I keep drywall around a patch from crumbling?Can I glue a second layer of drywall?How to patch long strip on drywall?Large drywall patch: how to avoid bulging seams?Drywall Mesh Patch vs. Bulge? To remove or not to remove?How to fix this drywall job?Prep drywall before backsplashWhat's the best way to fix this horrible drywall patch job?Drywall patching using 3M Patch Plus Primer