For any $n$ there's a power of $2$ which contains $n$
Clash Royale CLAN TAG#URR8PPP
up vote
6
down vote
favorite
So I saw this problem in an Olympiad book,
"Prove that for any natural number $n$, there exists a power of $2$ which contains $n$ in it. "
For example, $n=19$ is in $2^13=8192$, $n=24$ is in $2^10=1024$.
I tried solving it by Pigeonhole principle, but haven't made any progress. Any ideas?
number-theory elementary-number-theory pigeonhole-principle
add a comment |Â
up vote
6
down vote
favorite
So I saw this problem in an Olympiad book,
"Prove that for any natural number $n$, there exists a power of $2$ which contains $n$ in it. "
For example, $n=19$ is in $2^13=8192$, $n=24$ is in $2^10=1024$.
I tried solving it by Pigeonhole principle, but haven't made any progress. Any ideas?
number-theory elementary-number-theory pigeonhole-principle
2
I'd look for a power of two that starts with the digits of $n$.
â Lord Shark the Unknown
Aug 19 at 11:53
This should be a duplicate. Your claim follows from the fact, that the fractional part of $kcdot log_10(2)$ is equidistributed in the interval $[0,1]$ and therefore $2^k$ can begin with every finite digit string (that does not start with $0$)
â Peter
Aug 19 at 12:11
add a comment |Â
up vote
6
down vote
favorite
up vote
6
down vote
favorite
So I saw this problem in an Olympiad book,
"Prove that for any natural number $n$, there exists a power of $2$ which contains $n$ in it. "
For example, $n=19$ is in $2^13=8192$, $n=24$ is in $2^10=1024$.
I tried solving it by Pigeonhole principle, but haven't made any progress. Any ideas?
number-theory elementary-number-theory pigeonhole-principle
So I saw this problem in an Olympiad book,
"Prove that for any natural number $n$, there exists a power of $2$ which contains $n$ in it. "
For example, $n=19$ is in $2^13=8192$, $n=24$ is in $2^10=1024$.
I tried solving it by Pigeonhole principle, but haven't made any progress. Any ideas?
number-theory elementary-number-theory pigeonhole-principle
edited Aug 19 at 11:54
asked Aug 19 at 11:51
Sudheesh Surendranath
1747
1747
2
I'd look for a power of two that starts with the digits of $n$.
â Lord Shark the Unknown
Aug 19 at 11:53
This should be a duplicate. Your claim follows from the fact, that the fractional part of $kcdot log_10(2)$ is equidistributed in the interval $[0,1]$ and therefore $2^k$ can begin with every finite digit string (that does not start with $0$)
â Peter
Aug 19 at 12:11
add a comment |Â
2
I'd look for a power of two that starts with the digits of $n$.
â Lord Shark the Unknown
Aug 19 at 11:53
This should be a duplicate. Your claim follows from the fact, that the fractional part of $kcdot log_10(2)$ is equidistributed in the interval $[0,1]$ and therefore $2^k$ can begin with every finite digit string (that does not start with $0$)
â Peter
Aug 19 at 12:11
2
2
I'd look for a power of two that starts with the digits of $n$.
â Lord Shark the Unknown
Aug 19 at 11:53
I'd look for a power of two that starts with the digits of $n$.
â Lord Shark the Unknown
Aug 19 at 11:53
This should be a duplicate. Your claim follows from the fact, that the fractional part of $kcdot log_10(2)$ is equidistributed in the interval $[0,1]$ and therefore $2^k$ can begin with every finite digit string (that does not start with $0$)
â Peter
Aug 19 at 12:11
This should be a duplicate. Your claim follows from the fact, that the fractional part of $kcdot log_10(2)$ is equidistributed in the interval $[0,1]$ and therefore $2^k$ can begin with every finite digit string (that does not start with $0$)
â Peter
Aug 19 at 12:11
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
5
down vote
accepted
Here's a quick sketch of a proof:
Prove $log_10(2)$ is irrational.
Prove that the fractional part of $nalpha$, where $n in mathbbN$ and $alpha$ is irrational, is dense in $(0,1)$
Note that the fractional part of $log(x)$ determines the first few digits, and then use the density of the fractional part of $nalpha$ to prove that the first few digits of the number can be any $m in mathbbN$.
If you need more help, just ask!
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
5
down vote
accepted
Here's a quick sketch of a proof:
Prove $log_10(2)$ is irrational.
Prove that the fractional part of $nalpha$, where $n in mathbbN$ and $alpha$ is irrational, is dense in $(0,1)$
Note that the fractional part of $log(x)$ determines the first few digits, and then use the density of the fractional part of $nalpha$ to prove that the first few digits of the number can be any $m in mathbbN$.
If you need more help, just ask!
add a comment |Â
up vote
5
down vote
accepted
Here's a quick sketch of a proof:
Prove $log_10(2)$ is irrational.
Prove that the fractional part of $nalpha$, where $n in mathbbN$ and $alpha$ is irrational, is dense in $(0,1)$
Note that the fractional part of $log(x)$ determines the first few digits, and then use the density of the fractional part of $nalpha$ to prove that the first few digits of the number can be any $m in mathbbN$.
If you need more help, just ask!
add a comment |Â
up vote
5
down vote
accepted
up vote
5
down vote
accepted
Here's a quick sketch of a proof:
Prove $log_10(2)$ is irrational.
Prove that the fractional part of $nalpha$, where $n in mathbbN$ and $alpha$ is irrational, is dense in $(0,1)$
Note that the fractional part of $log(x)$ determines the first few digits, and then use the density of the fractional part of $nalpha$ to prove that the first few digits of the number can be any $m in mathbbN$.
If you need more help, just ask!
Here's a quick sketch of a proof:
Prove $log_10(2)$ is irrational.
Prove that the fractional part of $nalpha$, where $n in mathbbN$ and $alpha$ is irrational, is dense in $(0,1)$
Note that the fractional part of $log(x)$ determines the first few digits, and then use the density of the fractional part of $nalpha$ to prove that the first few digits of the number can be any $m in mathbbN$.
If you need more help, just ask!
edited Aug 27 at 17:27
answered Aug 19 at 12:12
Isaac Browne
4,01121028
4,01121028
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2887631%2ffor-any-n-theres-a-power-of-2-which-contains-n%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
2
I'd look for a power of two that starts with the digits of $n$.
â Lord Shark the Unknown
Aug 19 at 11:53
This should be a duplicate. Your claim follows from the fact, that the fractional part of $kcdot log_10(2)$ is equidistributed in the interval $[0,1]$ and therefore $2^k$ can begin with every finite digit string (that does not start with $0$)
â Peter
Aug 19 at 12:11