Number theory for MTRP












0












$begingroup$


Find all $(k,n)$, for which $(2^k-1)^n + (2^k+1)^n$ is a perfect square.



I did something like this.
$(2^k-1)^n + (2^k+1)^n = d^2$



Since both are odd, $d$ must be even.
I considered this as $mod 3$, $mod 4$, since $x^2$ congruent to $0$ or $1$ $mod(3,4)$. But this too did not help me.
I now have no idea how to proceed further.



I could not solve this problem but i tried very much.



Check problem 25. You may also note down the other problems as well.










share|cite|improve this question











$endgroup$












  • $begingroup$
    Please dont downvote me... i dont know how to use latex.. i am new here
    $endgroup$
    – user636268
    Jan 19 at 11:46










  • $begingroup$
    Hi, this website can teach you how to type latex: en.wikibooks.org/wiki/LaTeX/Mathematics
    $endgroup$
    – kelvin hong 方
    Jan 19 at 11:47












  • $begingroup$
    Do i need to install some kind of applications?
    $endgroup$
    – user636268
    Jan 19 at 11:49










  • $begingroup$
    There is no need to install anything for you to use LaTeX in MSE.
    $endgroup$
    – kelvin hong 方
    Jan 19 at 11:52










  • $begingroup$
    Tomorrow is exam.. please somebody answer fast
    $endgroup$
    – user636268
    Jan 19 at 12:00
















0












$begingroup$


Find all $(k,n)$, for which $(2^k-1)^n + (2^k+1)^n$ is a perfect square.



I did something like this.
$(2^k-1)^n + (2^k+1)^n = d^2$



Since both are odd, $d$ must be even.
I considered this as $mod 3$, $mod 4$, since $x^2$ congruent to $0$ or $1$ $mod(3,4)$. But this too did not help me.
I now have no idea how to proceed further.



I could not solve this problem but i tried very much.



Check problem 25. You may also note down the other problems as well.










share|cite|improve this question











$endgroup$












  • $begingroup$
    Please dont downvote me... i dont know how to use latex.. i am new here
    $endgroup$
    – user636268
    Jan 19 at 11:46










  • $begingroup$
    Hi, this website can teach you how to type latex: en.wikibooks.org/wiki/LaTeX/Mathematics
    $endgroup$
    – kelvin hong 方
    Jan 19 at 11:47












  • $begingroup$
    Do i need to install some kind of applications?
    $endgroup$
    – user636268
    Jan 19 at 11:49










  • $begingroup$
    There is no need to install anything for you to use LaTeX in MSE.
    $endgroup$
    – kelvin hong 方
    Jan 19 at 11:52










  • $begingroup$
    Tomorrow is exam.. please somebody answer fast
    $endgroup$
    – user636268
    Jan 19 at 12:00














0












0








0


2



$begingroup$


Find all $(k,n)$, for which $(2^k-1)^n + (2^k+1)^n$ is a perfect square.



I did something like this.
$(2^k-1)^n + (2^k+1)^n = d^2$



Since both are odd, $d$ must be even.
I considered this as $mod 3$, $mod 4$, since $x^2$ congruent to $0$ or $1$ $mod(3,4)$. But this too did not help me.
I now have no idea how to proceed further.



I could not solve this problem but i tried very much.



Check problem 25. You may also note down the other problems as well.










share|cite|improve this question











$endgroup$




Find all $(k,n)$, for which $(2^k-1)^n + (2^k+1)^n$ is a perfect square.



I did something like this.
$(2^k-1)^n + (2^k+1)^n = d^2$



Since both are odd, $d$ must be even.
I considered this as $mod 3$, $mod 4$, since $x^2$ congruent to $0$ or $1$ $mod(3,4)$. But this too did not help me.
I now have no idea how to proceed further.



I could not solve this problem but i tried very much.



Check problem 25. You may also note down the other problems as well.







number-theory






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 19 at 11:55

























asked Jan 19 at 11:39







user636268



















  • $begingroup$
    Please dont downvote me... i dont know how to use latex.. i am new here
    $endgroup$
    – user636268
    Jan 19 at 11:46










  • $begingroup$
    Hi, this website can teach you how to type latex: en.wikibooks.org/wiki/LaTeX/Mathematics
    $endgroup$
    – kelvin hong 方
    Jan 19 at 11:47












  • $begingroup$
    Do i need to install some kind of applications?
    $endgroup$
    – user636268
    Jan 19 at 11:49










  • $begingroup$
    There is no need to install anything for you to use LaTeX in MSE.
    $endgroup$
    – kelvin hong 方
    Jan 19 at 11:52










  • $begingroup$
    Tomorrow is exam.. please somebody answer fast
    $endgroup$
    – user636268
    Jan 19 at 12:00


















  • $begingroup$
    Please dont downvote me... i dont know how to use latex.. i am new here
    $endgroup$
    – user636268
    Jan 19 at 11:46










  • $begingroup$
    Hi, this website can teach you how to type latex: en.wikibooks.org/wiki/LaTeX/Mathematics
    $endgroup$
    – kelvin hong 方
    Jan 19 at 11:47












  • $begingroup$
    Do i need to install some kind of applications?
    $endgroup$
    – user636268
    Jan 19 at 11:49










  • $begingroup$
    There is no need to install anything for you to use LaTeX in MSE.
    $endgroup$
    – kelvin hong 方
    Jan 19 at 11:52










  • $begingroup$
    Tomorrow is exam.. please somebody answer fast
    $endgroup$
    – user636268
    Jan 19 at 12:00
















$begingroup$
Please dont downvote me... i dont know how to use latex.. i am new here
$endgroup$
– user636268
Jan 19 at 11:46




$begingroup$
Please dont downvote me... i dont know how to use latex.. i am new here
$endgroup$
– user636268
Jan 19 at 11:46












$begingroup$
Hi, this website can teach you how to type latex: en.wikibooks.org/wiki/LaTeX/Mathematics
$endgroup$
– kelvin hong 方
Jan 19 at 11:47






$begingroup$
Hi, this website can teach you how to type latex: en.wikibooks.org/wiki/LaTeX/Mathematics
$endgroup$
– kelvin hong 方
Jan 19 at 11:47














$begingroup$
Do i need to install some kind of applications?
$endgroup$
– user636268
Jan 19 at 11:49




$begingroup$
Do i need to install some kind of applications?
$endgroup$
– user636268
Jan 19 at 11:49












$begingroup$
There is no need to install anything for you to use LaTeX in MSE.
$endgroup$
– kelvin hong 方
Jan 19 at 11:52




$begingroup$
There is no need to install anything for you to use LaTeX in MSE.
$endgroup$
– kelvin hong 方
Jan 19 at 11:52












$begingroup$
Tomorrow is exam.. please somebody answer fast
$endgroup$
– user636268
Jan 19 at 12:00




$begingroup$
Tomorrow is exam.. please somebody answer fast
$endgroup$
– user636268
Jan 19 at 12:00










1 Answer
1






active

oldest

votes


















0












$begingroup$

My solution is not complete, but I hope someone can fill in the missing things.



My result: $n$ cannot be even, and also it should be an odd number with $nequiv 1pmod 8$.

Let's proceed: Suppose $$d^2=(2^k-1)^n+(2^k+1)^n$$
If $ngeq 2$ is even, then using binomial expansion we have $$d^2=2[(2^k)^n+binom{n}{2}(2^k)^{n-2}+cdots+1]$$
Clearly $d^2$ is divisible by $2$ but not $4$, hence every even $n$ doesn't work for sure.

If $ngeq 1$ is odd, we first take $n=1$, and we see $$d^2=2^{k+1}$$
Hence we have $(n,k)=(1,1),(1,3),(1,5), cdots$.

If $ngeq 3$, then begin{align*}d^2&=2[(2^k)^n+binom n2(2^k)^{n-2}+cdots+binom{n}{n-1}2^k]\
&=2^{k+1}bigg[(2^k)^{n-1}+binom{n}{2}(2^k)^{n-3}+cdots+binom{n}{n-3}(2^k)^2+nbigg]end{align*}

We see that since $n$ is odd, the big square bracket is odd, hence $2^{k+1}$ must itself be a perfect square, hence $k$ is odd. Then the big square bracket should itself be an odd square, and we see any odd square should have the property $1pmod 8$ since for any positive integer $m$ we have $$(2m+1)^2equiv 4m^2+4m+1equiv 4m(m+1)+1equiv 1pmod 8.$$
Hence when $n$ is an odd number with $nequiv 1pmod 8$, $k$ is an odd number, but I cannot found any example when $n> 1$, there should be no solution at this stage but I cannot prove it.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Thanks for your response!
    $endgroup$
    – user636268
    Jan 19 at 12:17










  • $begingroup$
    What if we substitute some numbef with a special property, say a perfect square itself and check?
    $endgroup$
    – user636268
    Jan 19 at 12:23










  • $begingroup$
    You can try it, but as my proof saying, the minimum next integer value of $n$ you can try is $n=9$, which makes calculation becomes huge very fast, if you have a powerful calculator you can try to do that.
    $endgroup$
    – kelvin hong 方
    Jan 19 at 12:36










  • $begingroup$
    If that does not help🤔
    $endgroup$
    – user636268
    Jan 19 at 12:39






  • 2




    $begingroup$
    Yes! That is why i am using MSE
    $endgroup$
    – user636268
    Jan 19 at 12:42











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%2f3079266%2fnumber-theory-for-mtrp%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









0












$begingroup$

My solution is not complete, but I hope someone can fill in the missing things.



My result: $n$ cannot be even, and also it should be an odd number with $nequiv 1pmod 8$.

Let's proceed: Suppose $$d^2=(2^k-1)^n+(2^k+1)^n$$
If $ngeq 2$ is even, then using binomial expansion we have $$d^2=2[(2^k)^n+binom{n}{2}(2^k)^{n-2}+cdots+1]$$
Clearly $d^2$ is divisible by $2$ but not $4$, hence every even $n$ doesn't work for sure.

If $ngeq 1$ is odd, we first take $n=1$, and we see $$d^2=2^{k+1}$$
Hence we have $(n,k)=(1,1),(1,3),(1,5), cdots$.

If $ngeq 3$, then begin{align*}d^2&=2[(2^k)^n+binom n2(2^k)^{n-2}+cdots+binom{n}{n-1}2^k]\
&=2^{k+1}bigg[(2^k)^{n-1}+binom{n}{2}(2^k)^{n-3}+cdots+binom{n}{n-3}(2^k)^2+nbigg]end{align*}

We see that since $n$ is odd, the big square bracket is odd, hence $2^{k+1}$ must itself be a perfect square, hence $k$ is odd. Then the big square bracket should itself be an odd square, and we see any odd square should have the property $1pmod 8$ since for any positive integer $m$ we have $$(2m+1)^2equiv 4m^2+4m+1equiv 4m(m+1)+1equiv 1pmod 8.$$
Hence when $n$ is an odd number with $nequiv 1pmod 8$, $k$ is an odd number, but I cannot found any example when $n> 1$, there should be no solution at this stage but I cannot prove it.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Thanks for your response!
    $endgroup$
    – user636268
    Jan 19 at 12:17










  • $begingroup$
    What if we substitute some numbef with a special property, say a perfect square itself and check?
    $endgroup$
    – user636268
    Jan 19 at 12:23










  • $begingroup$
    You can try it, but as my proof saying, the minimum next integer value of $n$ you can try is $n=9$, which makes calculation becomes huge very fast, if you have a powerful calculator you can try to do that.
    $endgroup$
    – kelvin hong 方
    Jan 19 at 12:36










  • $begingroup$
    If that does not help🤔
    $endgroup$
    – user636268
    Jan 19 at 12:39






  • 2




    $begingroup$
    Yes! That is why i am using MSE
    $endgroup$
    – user636268
    Jan 19 at 12:42
















0












$begingroup$

My solution is not complete, but I hope someone can fill in the missing things.



My result: $n$ cannot be even, and also it should be an odd number with $nequiv 1pmod 8$.

Let's proceed: Suppose $$d^2=(2^k-1)^n+(2^k+1)^n$$
If $ngeq 2$ is even, then using binomial expansion we have $$d^2=2[(2^k)^n+binom{n}{2}(2^k)^{n-2}+cdots+1]$$
Clearly $d^2$ is divisible by $2$ but not $4$, hence every even $n$ doesn't work for sure.

If $ngeq 1$ is odd, we first take $n=1$, and we see $$d^2=2^{k+1}$$
Hence we have $(n,k)=(1,1),(1,3),(1,5), cdots$.

If $ngeq 3$, then begin{align*}d^2&=2[(2^k)^n+binom n2(2^k)^{n-2}+cdots+binom{n}{n-1}2^k]\
&=2^{k+1}bigg[(2^k)^{n-1}+binom{n}{2}(2^k)^{n-3}+cdots+binom{n}{n-3}(2^k)^2+nbigg]end{align*}

We see that since $n$ is odd, the big square bracket is odd, hence $2^{k+1}$ must itself be a perfect square, hence $k$ is odd. Then the big square bracket should itself be an odd square, and we see any odd square should have the property $1pmod 8$ since for any positive integer $m$ we have $$(2m+1)^2equiv 4m^2+4m+1equiv 4m(m+1)+1equiv 1pmod 8.$$
Hence when $n$ is an odd number with $nequiv 1pmod 8$, $k$ is an odd number, but I cannot found any example when $n> 1$, there should be no solution at this stage but I cannot prove it.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Thanks for your response!
    $endgroup$
    – user636268
    Jan 19 at 12:17










  • $begingroup$
    What if we substitute some numbef with a special property, say a perfect square itself and check?
    $endgroup$
    – user636268
    Jan 19 at 12:23










  • $begingroup$
    You can try it, but as my proof saying, the minimum next integer value of $n$ you can try is $n=9$, which makes calculation becomes huge very fast, if you have a powerful calculator you can try to do that.
    $endgroup$
    – kelvin hong 方
    Jan 19 at 12:36










  • $begingroup$
    If that does not help🤔
    $endgroup$
    – user636268
    Jan 19 at 12:39






  • 2




    $begingroup$
    Yes! That is why i am using MSE
    $endgroup$
    – user636268
    Jan 19 at 12:42














0












0








0





$begingroup$

My solution is not complete, but I hope someone can fill in the missing things.



My result: $n$ cannot be even, and also it should be an odd number with $nequiv 1pmod 8$.

Let's proceed: Suppose $$d^2=(2^k-1)^n+(2^k+1)^n$$
If $ngeq 2$ is even, then using binomial expansion we have $$d^2=2[(2^k)^n+binom{n}{2}(2^k)^{n-2}+cdots+1]$$
Clearly $d^2$ is divisible by $2$ but not $4$, hence every even $n$ doesn't work for sure.

If $ngeq 1$ is odd, we first take $n=1$, and we see $$d^2=2^{k+1}$$
Hence we have $(n,k)=(1,1),(1,3),(1,5), cdots$.

If $ngeq 3$, then begin{align*}d^2&=2[(2^k)^n+binom n2(2^k)^{n-2}+cdots+binom{n}{n-1}2^k]\
&=2^{k+1}bigg[(2^k)^{n-1}+binom{n}{2}(2^k)^{n-3}+cdots+binom{n}{n-3}(2^k)^2+nbigg]end{align*}

We see that since $n$ is odd, the big square bracket is odd, hence $2^{k+1}$ must itself be a perfect square, hence $k$ is odd. Then the big square bracket should itself be an odd square, and we see any odd square should have the property $1pmod 8$ since for any positive integer $m$ we have $$(2m+1)^2equiv 4m^2+4m+1equiv 4m(m+1)+1equiv 1pmod 8.$$
Hence when $n$ is an odd number with $nequiv 1pmod 8$, $k$ is an odd number, but I cannot found any example when $n> 1$, there should be no solution at this stage but I cannot prove it.






share|cite|improve this answer









$endgroup$



My solution is not complete, but I hope someone can fill in the missing things.



My result: $n$ cannot be even, and also it should be an odd number with $nequiv 1pmod 8$.

Let's proceed: Suppose $$d^2=(2^k-1)^n+(2^k+1)^n$$
If $ngeq 2$ is even, then using binomial expansion we have $$d^2=2[(2^k)^n+binom{n}{2}(2^k)^{n-2}+cdots+1]$$
Clearly $d^2$ is divisible by $2$ but not $4$, hence every even $n$ doesn't work for sure.

If $ngeq 1$ is odd, we first take $n=1$, and we see $$d^2=2^{k+1}$$
Hence we have $(n,k)=(1,1),(1,3),(1,5), cdots$.

If $ngeq 3$, then begin{align*}d^2&=2[(2^k)^n+binom n2(2^k)^{n-2}+cdots+binom{n}{n-1}2^k]\
&=2^{k+1}bigg[(2^k)^{n-1}+binom{n}{2}(2^k)^{n-3}+cdots+binom{n}{n-3}(2^k)^2+nbigg]end{align*}

We see that since $n$ is odd, the big square bracket is odd, hence $2^{k+1}$ must itself be a perfect square, hence $k$ is odd. Then the big square bracket should itself be an odd square, and we see any odd square should have the property $1pmod 8$ since for any positive integer $m$ we have $$(2m+1)^2equiv 4m^2+4m+1equiv 4m(m+1)+1equiv 1pmod 8.$$
Hence when $n$ is an odd number with $nequiv 1pmod 8$, $k$ is an odd number, but I cannot found any example when $n> 1$, there should be no solution at this stage but I cannot prove it.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Jan 19 at 12:04









kelvin hong 方kelvin hong 方

72218




72218












  • $begingroup$
    Thanks for your response!
    $endgroup$
    – user636268
    Jan 19 at 12:17










  • $begingroup$
    What if we substitute some numbef with a special property, say a perfect square itself and check?
    $endgroup$
    – user636268
    Jan 19 at 12:23










  • $begingroup$
    You can try it, but as my proof saying, the minimum next integer value of $n$ you can try is $n=9$, which makes calculation becomes huge very fast, if you have a powerful calculator you can try to do that.
    $endgroup$
    – kelvin hong 方
    Jan 19 at 12:36










  • $begingroup$
    If that does not help🤔
    $endgroup$
    – user636268
    Jan 19 at 12:39






  • 2




    $begingroup$
    Yes! That is why i am using MSE
    $endgroup$
    – user636268
    Jan 19 at 12:42


















  • $begingroup$
    Thanks for your response!
    $endgroup$
    – user636268
    Jan 19 at 12:17










  • $begingroup$
    What if we substitute some numbef with a special property, say a perfect square itself and check?
    $endgroup$
    – user636268
    Jan 19 at 12:23










  • $begingroup$
    You can try it, but as my proof saying, the minimum next integer value of $n$ you can try is $n=9$, which makes calculation becomes huge very fast, if you have a powerful calculator you can try to do that.
    $endgroup$
    – kelvin hong 方
    Jan 19 at 12:36










  • $begingroup$
    If that does not help🤔
    $endgroup$
    – user636268
    Jan 19 at 12:39






  • 2




    $begingroup$
    Yes! That is why i am using MSE
    $endgroup$
    – user636268
    Jan 19 at 12:42
















$begingroup$
Thanks for your response!
$endgroup$
– user636268
Jan 19 at 12:17




$begingroup$
Thanks for your response!
$endgroup$
– user636268
Jan 19 at 12:17












$begingroup$
What if we substitute some numbef with a special property, say a perfect square itself and check?
$endgroup$
– user636268
Jan 19 at 12:23




$begingroup$
What if we substitute some numbef with a special property, say a perfect square itself and check?
$endgroup$
– user636268
Jan 19 at 12:23












$begingroup$
You can try it, but as my proof saying, the minimum next integer value of $n$ you can try is $n=9$, which makes calculation becomes huge very fast, if you have a powerful calculator you can try to do that.
$endgroup$
– kelvin hong 方
Jan 19 at 12:36




$begingroup$
You can try it, but as my proof saying, the minimum next integer value of $n$ you can try is $n=9$, which makes calculation becomes huge very fast, if you have a powerful calculator you can try to do that.
$endgroup$
– kelvin hong 方
Jan 19 at 12:36












$begingroup$
If that does not help🤔
$endgroup$
– user636268
Jan 19 at 12:39




$begingroup$
If that does not help🤔
$endgroup$
– user636268
Jan 19 at 12:39




2




2




$begingroup$
Yes! That is why i am using MSE
$endgroup$
– user636268
Jan 19 at 12:42




$begingroup$
Yes! That is why i am using MSE
$endgroup$
– user636268
Jan 19 at 12:42


















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%2f3079266%2fnumber-theory-for-mtrp%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

'app-layout' is not a known element: how to share Component with different Modules

android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

WPF add header to Image with URL pettitions [duplicate]