Proportion of odd digits in powers of $2$ base ten












2












$begingroup$


For $n ge 1,$ if $2^n$ in base ten has $d$ digits, $k$ of which are odd, define $f(n)=k/d.$ I'm wondering whether $f(n)$ can get arbitrarily close to $1,$ or on the other hand does $f(n)$ have a least upper bound which is less than $1.$ [If the latter can we find that lub?]



We have $f(9)=2/3,$ since $2^9=512.$ we can't have $f(n)=1$ since the units digit is even. I'd be interested in some specific cases where $f(n)$ is "fairly near" $1$ [whatever that means].










share|cite|improve this question











$endgroup$








  • 4




    $begingroup$
    Worth noting: problems like this tend not to be solvable. See, for instance, the comparatively simpler Conjecture of Erdos regarding the ternary expressions of powers of $2$.
    $endgroup$
    – lulu
    Jan 31 at 18:32






  • 3




    $begingroup$
    I have computed $f(n)$ for $1le nle10^5$. Maximum is $f(76)=0.695652$. The mean is $0.499857$.
    $endgroup$
    – Julián Aguirre
    Jan 31 at 18:40










  • $begingroup$
    The number of odd digits in $2^n$ is the number of digits $ge5$ in $2^{n-1}$.
    $endgroup$
    – Julián Aguirre
    Jan 31 at 18:42






  • 1




    $begingroup$
    @JuliánAguirre a look at the larger numbers make it feels like when $n rightarrow infty$ it goes to $0$. look for $f(n)$ in $100<n<10^5$, and than $500<n<10^5$ and than $2000<n<10^5$.. Do you feel the same? EDIT: I use python on online compiler cause my computer sucks, I can look only up to n=1000..
    $endgroup$
    – Shaq
    Jan 31 at 18:57












  • $begingroup$
    The values cluster around $0.5$.
    $endgroup$
    – Julián Aguirre
    Jan 31 at 18:58
















2












$begingroup$


For $n ge 1,$ if $2^n$ in base ten has $d$ digits, $k$ of which are odd, define $f(n)=k/d.$ I'm wondering whether $f(n)$ can get arbitrarily close to $1,$ or on the other hand does $f(n)$ have a least upper bound which is less than $1.$ [If the latter can we find that lub?]



We have $f(9)=2/3,$ since $2^9=512.$ we can't have $f(n)=1$ since the units digit is even. I'd be interested in some specific cases where $f(n)$ is "fairly near" $1$ [whatever that means].










share|cite|improve this question











$endgroup$








  • 4




    $begingroup$
    Worth noting: problems like this tend not to be solvable. See, for instance, the comparatively simpler Conjecture of Erdos regarding the ternary expressions of powers of $2$.
    $endgroup$
    – lulu
    Jan 31 at 18:32






  • 3




    $begingroup$
    I have computed $f(n)$ for $1le nle10^5$. Maximum is $f(76)=0.695652$. The mean is $0.499857$.
    $endgroup$
    – Julián Aguirre
    Jan 31 at 18:40










  • $begingroup$
    The number of odd digits in $2^n$ is the number of digits $ge5$ in $2^{n-1}$.
    $endgroup$
    – Julián Aguirre
    Jan 31 at 18:42






  • 1




    $begingroup$
    @JuliánAguirre a look at the larger numbers make it feels like when $n rightarrow infty$ it goes to $0$. look for $f(n)$ in $100<n<10^5$, and than $500<n<10^5$ and than $2000<n<10^5$.. Do you feel the same? EDIT: I use python on online compiler cause my computer sucks, I can look only up to n=1000..
    $endgroup$
    – Shaq
    Jan 31 at 18:57












  • $begingroup$
    The values cluster around $0.5$.
    $endgroup$
    – Julián Aguirre
    Jan 31 at 18:58














2












2








2


1



$begingroup$


For $n ge 1,$ if $2^n$ in base ten has $d$ digits, $k$ of which are odd, define $f(n)=k/d.$ I'm wondering whether $f(n)$ can get arbitrarily close to $1,$ or on the other hand does $f(n)$ have a least upper bound which is less than $1.$ [If the latter can we find that lub?]



We have $f(9)=2/3,$ since $2^9=512.$ we can't have $f(n)=1$ since the units digit is even. I'd be interested in some specific cases where $f(n)$ is "fairly near" $1$ [whatever that means].










share|cite|improve this question











$endgroup$




For $n ge 1,$ if $2^n$ in base ten has $d$ digits, $k$ of which are odd, define $f(n)=k/d.$ I'm wondering whether $f(n)$ can get arbitrarily close to $1,$ or on the other hand does $f(n)$ have a least upper bound which is less than $1.$ [If the latter can we find that lub?]



We have $f(9)=2/3,$ since $2^9=512.$ we can't have $f(n)=1$ since the units digit is even. I'd be interested in some specific cases where $f(n)$ is "fairly near" $1$ [whatever that means].







elementary-number-theory






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 31 at 18:29







coffeemath

















asked Jan 31 at 18:11









coffeemathcoffeemath

2,9171415




2,9171415








  • 4




    $begingroup$
    Worth noting: problems like this tend not to be solvable. See, for instance, the comparatively simpler Conjecture of Erdos regarding the ternary expressions of powers of $2$.
    $endgroup$
    – lulu
    Jan 31 at 18:32






  • 3




    $begingroup$
    I have computed $f(n)$ for $1le nle10^5$. Maximum is $f(76)=0.695652$. The mean is $0.499857$.
    $endgroup$
    – Julián Aguirre
    Jan 31 at 18:40










  • $begingroup$
    The number of odd digits in $2^n$ is the number of digits $ge5$ in $2^{n-1}$.
    $endgroup$
    – Julián Aguirre
    Jan 31 at 18:42






  • 1




    $begingroup$
    @JuliánAguirre a look at the larger numbers make it feels like when $n rightarrow infty$ it goes to $0$. look for $f(n)$ in $100<n<10^5$, and than $500<n<10^5$ and than $2000<n<10^5$.. Do you feel the same? EDIT: I use python on online compiler cause my computer sucks, I can look only up to n=1000..
    $endgroup$
    – Shaq
    Jan 31 at 18:57












  • $begingroup$
    The values cluster around $0.5$.
    $endgroup$
    – Julián Aguirre
    Jan 31 at 18:58














  • 4




    $begingroup$
    Worth noting: problems like this tend not to be solvable. See, for instance, the comparatively simpler Conjecture of Erdos regarding the ternary expressions of powers of $2$.
    $endgroup$
    – lulu
    Jan 31 at 18:32






  • 3




    $begingroup$
    I have computed $f(n)$ for $1le nle10^5$. Maximum is $f(76)=0.695652$. The mean is $0.499857$.
    $endgroup$
    – Julián Aguirre
    Jan 31 at 18:40










  • $begingroup$
    The number of odd digits in $2^n$ is the number of digits $ge5$ in $2^{n-1}$.
    $endgroup$
    – Julián Aguirre
    Jan 31 at 18:42






  • 1




    $begingroup$
    @JuliánAguirre a look at the larger numbers make it feels like when $n rightarrow infty$ it goes to $0$. look for $f(n)$ in $100<n<10^5$, and than $500<n<10^5$ and than $2000<n<10^5$.. Do you feel the same? EDIT: I use python on online compiler cause my computer sucks, I can look only up to n=1000..
    $endgroup$
    – Shaq
    Jan 31 at 18:57












  • $begingroup$
    The values cluster around $0.5$.
    $endgroup$
    – Julián Aguirre
    Jan 31 at 18:58








4




4




$begingroup$
Worth noting: problems like this tend not to be solvable. See, for instance, the comparatively simpler Conjecture of Erdos regarding the ternary expressions of powers of $2$.
$endgroup$
– lulu
Jan 31 at 18:32




$begingroup$
Worth noting: problems like this tend not to be solvable. See, for instance, the comparatively simpler Conjecture of Erdos regarding the ternary expressions of powers of $2$.
$endgroup$
– lulu
Jan 31 at 18:32




3




3




$begingroup$
I have computed $f(n)$ for $1le nle10^5$. Maximum is $f(76)=0.695652$. The mean is $0.499857$.
$endgroup$
– Julián Aguirre
Jan 31 at 18:40




$begingroup$
I have computed $f(n)$ for $1le nle10^5$. Maximum is $f(76)=0.695652$. The mean is $0.499857$.
$endgroup$
– Julián Aguirre
Jan 31 at 18:40












$begingroup$
The number of odd digits in $2^n$ is the number of digits $ge5$ in $2^{n-1}$.
$endgroup$
– Julián Aguirre
Jan 31 at 18:42




$begingroup$
The number of odd digits in $2^n$ is the number of digits $ge5$ in $2^{n-1}$.
$endgroup$
– Julián Aguirre
Jan 31 at 18:42




1




1




$begingroup$
@JuliánAguirre a look at the larger numbers make it feels like when $n rightarrow infty$ it goes to $0$. look for $f(n)$ in $100<n<10^5$, and than $500<n<10^5$ and than $2000<n<10^5$.. Do you feel the same? EDIT: I use python on online compiler cause my computer sucks, I can look only up to n=1000..
$endgroup$
– Shaq
Jan 31 at 18:57






$begingroup$
@JuliánAguirre a look at the larger numbers make it feels like when $n rightarrow infty$ it goes to $0$. look for $f(n)$ in $100<n<10^5$, and than $500<n<10^5$ and than $2000<n<10^5$.. Do you feel the same? EDIT: I use python on online compiler cause my computer sucks, I can look only up to n=1000..
$endgroup$
– Shaq
Jan 31 at 18:57














$begingroup$
The values cluster around $0.5$.
$endgroup$
– Julián Aguirre
Jan 31 at 18:58




$begingroup$
The values cluster around $0.5$.
$endgroup$
– Julián Aguirre
Jan 31 at 18:58










0






active

oldest

votes












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%2f3095256%2fproportion-of-odd-digits-in-powers-of-2-base-ten%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















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%2f3095256%2fproportion-of-odd-digits-in-powers-of-2-base-ten%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

MongoDB - Not Authorized To Execute Command

How to fix TextFormField cause rebuild widget in Flutter

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith