Prove by induction binary base











up vote
-2
down vote

favorite












Prove by induction that every natural number $n$ has a natural number $k$ and numbers $a_{0} , a_{1},..., a_{k}in left { 0,1 right }$ such that $n=sum_{i=0}^{k} a_{i} 2^{i}$



I really don't understand What should I do here? I guess it's related to a binary base but how to start solving this question?
Thanks!










share|cite|improve this question
























  • Do induction on n. The base case is trivial.
    – GNUSupporter 8964民主女神 地下教會
    Nov 22 at 16:30















up vote
-2
down vote

favorite












Prove by induction that every natural number $n$ has a natural number $k$ and numbers $a_{0} , a_{1},..., a_{k}in left { 0,1 right }$ such that $n=sum_{i=0}^{k} a_{i} 2^{i}$



I really don't understand What should I do here? I guess it's related to a binary base but how to start solving this question?
Thanks!










share|cite|improve this question
























  • Do induction on n. The base case is trivial.
    – GNUSupporter 8964民主女神 地下教會
    Nov 22 at 16:30













up vote
-2
down vote

favorite









up vote
-2
down vote

favorite











Prove by induction that every natural number $n$ has a natural number $k$ and numbers $a_{0} , a_{1},..., a_{k}in left { 0,1 right }$ such that $n=sum_{i=0}^{k} a_{i} 2^{i}$



I really don't understand What should I do here? I guess it's related to a binary base but how to start solving this question?
Thanks!










share|cite|improve this question















Prove by induction that every natural number $n$ has a natural number $k$ and numbers $a_{0} , a_{1},..., a_{k}in left { 0,1 right }$ such that $n=sum_{i=0}^{k} a_{i} 2^{i}$



I really don't understand What should I do here? I guess it's related to a binary base but how to start solving this question?
Thanks!







induction






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 22 at 16:13









user3482749

2,166414




2,166414










asked Nov 22 at 16:11









Marry G

32




32












  • Do induction on n. The base case is trivial.
    – GNUSupporter 8964民主女神 地下教會
    Nov 22 at 16:30


















  • Do induction on n. The base case is trivial.
    – GNUSupporter 8964民主女神 地下教會
    Nov 22 at 16:30
















Do induction on n. The base case is trivial.
– GNUSupporter 8964民主女神 地下教會
Nov 22 at 16:30




Do induction on n. The base case is trivial.
– GNUSupporter 8964民主女神 地下教會
Nov 22 at 16:30










1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










You've correctly detected that this is connected with the binary expression for $n$. You need to do three things now: (1) Figure out exactly what that connection is, i.e., if I gave you the binary expression for $n$, say 110101 when n=53, how could you easily find the $a_i$'s? (2) Prove the base case of the desired induction, i.e., prove that the result is correct for $n=0$ (or $n=1$ if your natural numbers begin with $1$). (3) Prove the induction step, i.e., assuming the desired result for $n$ prove it for $n+1$. In part (3), it will be useful to understand exactly how adding $1$ works in binary notation, in particular what "carrying" occurs. Once you understand that in terms of binary notation, you can use (1) to express it in terms of the $a_i$'s and so complete the induction proof.






share|cite|improve this answer





















  • Thank you very much, excellent explanation!
    – Marry G
    Nov 22 at 16:47











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%2f3009306%2fprove-by-induction-binary-base%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



accepted










You've correctly detected that this is connected with the binary expression for $n$. You need to do three things now: (1) Figure out exactly what that connection is, i.e., if I gave you the binary expression for $n$, say 110101 when n=53, how could you easily find the $a_i$'s? (2) Prove the base case of the desired induction, i.e., prove that the result is correct for $n=0$ (or $n=1$ if your natural numbers begin with $1$). (3) Prove the induction step, i.e., assuming the desired result for $n$ prove it for $n+1$. In part (3), it will be useful to understand exactly how adding $1$ works in binary notation, in particular what "carrying" occurs. Once you understand that in terms of binary notation, you can use (1) to express it in terms of the $a_i$'s and so complete the induction proof.






share|cite|improve this answer





















  • Thank you very much, excellent explanation!
    – Marry G
    Nov 22 at 16:47















up vote
0
down vote



accepted










You've correctly detected that this is connected with the binary expression for $n$. You need to do three things now: (1) Figure out exactly what that connection is, i.e., if I gave you the binary expression for $n$, say 110101 when n=53, how could you easily find the $a_i$'s? (2) Prove the base case of the desired induction, i.e., prove that the result is correct for $n=0$ (or $n=1$ if your natural numbers begin with $1$). (3) Prove the induction step, i.e., assuming the desired result for $n$ prove it for $n+1$. In part (3), it will be useful to understand exactly how adding $1$ works in binary notation, in particular what "carrying" occurs. Once you understand that in terms of binary notation, you can use (1) to express it in terms of the $a_i$'s and so complete the induction proof.






share|cite|improve this answer





















  • Thank you very much, excellent explanation!
    – Marry G
    Nov 22 at 16:47













up vote
0
down vote



accepted







up vote
0
down vote



accepted






You've correctly detected that this is connected with the binary expression for $n$. You need to do three things now: (1) Figure out exactly what that connection is, i.e., if I gave you the binary expression for $n$, say 110101 when n=53, how could you easily find the $a_i$'s? (2) Prove the base case of the desired induction, i.e., prove that the result is correct for $n=0$ (or $n=1$ if your natural numbers begin with $1$). (3) Prove the induction step, i.e., assuming the desired result for $n$ prove it for $n+1$. In part (3), it will be useful to understand exactly how adding $1$ works in binary notation, in particular what "carrying" occurs. Once you understand that in terms of binary notation, you can use (1) to express it in terms of the $a_i$'s and so complete the induction proof.






share|cite|improve this answer












You've correctly detected that this is connected with the binary expression for $n$. You need to do three things now: (1) Figure out exactly what that connection is, i.e., if I gave you the binary expression for $n$, say 110101 when n=53, how could you easily find the $a_i$'s? (2) Prove the base case of the desired induction, i.e., prove that the result is correct for $n=0$ (or $n=1$ if your natural numbers begin with $1$). (3) Prove the induction step, i.e., assuming the desired result for $n$ prove it for $n+1$. In part (3), it will be useful to understand exactly how adding $1$ works in binary notation, in particular what "carrying" occurs. Once you understand that in terms of binary notation, you can use (1) to express it in terms of the $a_i$'s and so complete the induction proof.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Nov 22 at 16:31









Andreas Blass

48.9k350106




48.9k350106












  • Thank you very much, excellent explanation!
    – Marry G
    Nov 22 at 16:47


















  • Thank you very much, excellent explanation!
    – Marry G
    Nov 22 at 16:47
















Thank you very much, excellent explanation!
– Marry G
Nov 22 at 16:47




Thank you very much, excellent explanation!
– Marry G
Nov 22 at 16:47


















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%2f3009306%2fprove-by-induction-binary-base%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Ellipse (mathématiques)

Quarter-circle Tiles

Mont Emei