Reversing digits of power of 2 to yield power of 7

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
3
down vote

favorite
1












Are there positive integers $n$ and $m$ for which reversing the base-10 digits of $2^n$ yields $7^m$?




I've answered this question for powers of 2 and powers of 3 in the negative. Permutations of the digits of a number divisible by 3 yields another number divisible by 3 in base-10. This arises from the fact that the sum of base-10 digits of a number divisible by 3 is itself divisible by 3.



Thus since $2^n$ is not divisible by 3, reversing the digits can't yield another number divisible by 3, and hence no natural number power of 2 when reversed will be a natural power of 3.




I'm currently trying to put limitations on n and m by considering modular arithmetic. Suggestions for techniques in the comments would also be appreciated.







share|cite|improve this question




















  • If the number of digits is even, adding $2^n$ to $7^m$ would give a multiple of 11. By letting 7=-4 modulo 11, some things can be said about $m$ and $n$.
    – Marco
    Aug 25 at 3:20










  • Also going on with the same idea of remainders modulo 3, you can say $n$ must be even since $2^n=7^m=1$ modulo 3.
    – Marco
    Aug 25 at 3:22










  • Related: math.stackexchange.com/questions/1653079/…
    – Misha Lavrov
    Aug 25 at 3:55










  • $1024=2^10$ and $2401=7^4$ are close to being reversals of each other....
    – Gerry Myerson
    Aug 25 at 4:23










  • This is also related
    – mbjoe
    Aug 25 at 18:29














up vote
3
down vote

favorite
1












Are there positive integers $n$ and $m$ for which reversing the base-10 digits of $2^n$ yields $7^m$?




I've answered this question for powers of 2 and powers of 3 in the negative. Permutations of the digits of a number divisible by 3 yields another number divisible by 3 in base-10. This arises from the fact that the sum of base-10 digits of a number divisible by 3 is itself divisible by 3.



Thus since $2^n$ is not divisible by 3, reversing the digits can't yield another number divisible by 3, and hence no natural number power of 2 when reversed will be a natural power of 3.




I'm currently trying to put limitations on n and m by considering modular arithmetic. Suggestions for techniques in the comments would also be appreciated.







share|cite|improve this question




















  • If the number of digits is even, adding $2^n$ to $7^m$ would give a multiple of 11. By letting 7=-4 modulo 11, some things can be said about $m$ and $n$.
    – Marco
    Aug 25 at 3:20










  • Also going on with the same idea of remainders modulo 3, you can say $n$ must be even since $2^n=7^m=1$ modulo 3.
    – Marco
    Aug 25 at 3:22










  • Related: math.stackexchange.com/questions/1653079/…
    – Misha Lavrov
    Aug 25 at 3:55










  • $1024=2^10$ and $2401=7^4$ are close to being reversals of each other....
    – Gerry Myerson
    Aug 25 at 4:23










  • This is also related
    – mbjoe
    Aug 25 at 18:29












up vote
3
down vote

favorite
1









up vote
3
down vote

favorite
1






1





Are there positive integers $n$ and $m$ for which reversing the base-10 digits of $2^n$ yields $7^m$?




I've answered this question for powers of 2 and powers of 3 in the negative. Permutations of the digits of a number divisible by 3 yields another number divisible by 3 in base-10. This arises from the fact that the sum of base-10 digits of a number divisible by 3 is itself divisible by 3.



Thus since $2^n$ is not divisible by 3, reversing the digits can't yield another number divisible by 3, and hence no natural number power of 2 when reversed will be a natural power of 3.




I'm currently trying to put limitations on n and m by considering modular arithmetic. Suggestions for techniques in the comments would also be appreciated.







share|cite|improve this question












Are there positive integers $n$ and $m$ for which reversing the base-10 digits of $2^n$ yields $7^m$?




I've answered this question for powers of 2 and powers of 3 in the negative. Permutations of the digits of a number divisible by 3 yields another number divisible by 3 in base-10. This arises from the fact that the sum of base-10 digits of a number divisible by 3 is itself divisible by 3.



Thus since $2^n$ is not divisible by 3, reversing the digits can't yield another number divisible by 3, and hence no natural number power of 2 when reversed will be a natural power of 3.




I'm currently trying to put limitations on n and m by considering modular arithmetic. Suggestions for techniques in the comments would also be appreciated.









share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Aug 25 at 2:54









user196574

1236




1236











  • If the number of digits is even, adding $2^n$ to $7^m$ would give a multiple of 11. By letting 7=-4 modulo 11, some things can be said about $m$ and $n$.
    – Marco
    Aug 25 at 3:20










  • Also going on with the same idea of remainders modulo 3, you can say $n$ must be even since $2^n=7^m=1$ modulo 3.
    – Marco
    Aug 25 at 3:22










  • Related: math.stackexchange.com/questions/1653079/…
    – Misha Lavrov
    Aug 25 at 3:55










  • $1024=2^10$ and $2401=7^4$ are close to being reversals of each other....
    – Gerry Myerson
    Aug 25 at 4:23










  • This is also related
    – mbjoe
    Aug 25 at 18:29
















  • If the number of digits is even, adding $2^n$ to $7^m$ would give a multiple of 11. By letting 7=-4 modulo 11, some things can be said about $m$ and $n$.
    – Marco
    Aug 25 at 3:20










  • Also going on with the same idea of remainders modulo 3, you can say $n$ must be even since $2^n=7^m=1$ modulo 3.
    – Marco
    Aug 25 at 3:22










  • Related: math.stackexchange.com/questions/1653079/…
    – Misha Lavrov
    Aug 25 at 3:55










  • $1024=2^10$ and $2401=7^4$ are close to being reversals of each other....
    – Gerry Myerson
    Aug 25 at 4:23










  • This is also related
    – mbjoe
    Aug 25 at 18:29















If the number of digits is even, adding $2^n$ to $7^m$ would give a multiple of 11. By letting 7=-4 modulo 11, some things can be said about $m$ and $n$.
– Marco
Aug 25 at 3:20




If the number of digits is even, adding $2^n$ to $7^m$ would give a multiple of 11. By letting 7=-4 modulo 11, some things can be said about $m$ and $n$.
– Marco
Aug 25 at 3:20












Also going on with the same idea of remainders modulo 3, you can say $n$ must be even since $2^n=7^m=1$ modulo 3.
– Marco
Aug 25 at 3:22




Also going on with the same idea of remainders modulo 3, you can say $n$ must be even since $2^n=7^m=1$ modulo 3.
– Marco
Aug 25 at 3:22












Related: math.stackexchange.com/questions/1653079/…
– Misha Lavrov
Aug 25 at 3:55




Related: math.stackexchange.com/questions/1653079/…
– Misha Lavrov
Aug 25 at 3:55












$1024=2^10$ and $2401=7^4$ are close to being reversals of each other....
– Gerry Myerson
Aug 25 at 4:23




$1024=2^10$ and $2401=7^4$ are close to being reversals of each other....
– Gerry Myerson
Aug 25 at 4:23












This is also related
– mbjoe
Aug 25 at 18:29




This is also related
– mbjoe
Aug 25 at 18:29










1 Answer
1






active

oldest

votes

















up vote
1
down vote













Some basic observations:



$n$ must be even: one has $2^n=7^m=1 pmod3$ and so $n$ is even.



$n-m$ must be divisible by 3: one has $2^n=7^m=(-2)^m pmod9$ and so $2^n-m=(-1)^m pmod9$ and so $n-m$ is divisible by 3.



$n-2m$ is divisible by 10 as the following two paragraph show.



If the number of digits is even, then $2^n+7^m$ is a multiple of 11. Therefore, $2^n+(-4)^m =0 pmod11$. Since $n$ is even, we let $n=2l$, and so $4^l+(-4)^m=0 pmod11$. It follows that $m$ is odd and $l-m$ is divisible by 5.



If the number of digits is odd, then $2^n=7^m pmod11$. Again we have $4^l=(-4)^m pmod11$ and so $4^l-m=(-1)^m pmod11$, which implies that $m$ is even and $l-m$ is divisible by 5.



The number of digits of $2^n$ is given by the inequality $10^s<2^n<10^s+1$. So $s<n log_10 2<s+1$. In particular $|nlog 2 - m log 7|<1$.






share|cite|improve this answer




















    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: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    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%2f2893768%2freversing-digits-of-power-of-2-to-yield-power-of-7%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote













    Some basic observations:



    $n$ must be even: one has $2^n=7^m=1 pmod3$ and so $n$ is even.



    $n-m$ must be divisible by 3: one has $2^n=7^m=(-2)^m pmod9$ and so $2^n-m=(-1)^m pmod9$ and so $n-m$ is divisible by 3.



    $n-2m$ is divisible by 10 as the following two paragraph show.



    If the number of digits is even, then $2^n+7^m$ is a multiple of 11. Therefore, $2^n+(-4)^m =0 pmod11$. Since $n$ is even, we let $n=2l$, and so $4^l+(-4)^m=0 pmod11$. It follows that $m$ is odd and $l-m$ is divisible by 5.



    If the number of digits is odd, then $2^n=7^m pmod11$. Again we have $4^l=(-4)^m pmod11$ and so $4^l-m=(-1)^m pmod11$, which implies that $m$ is even and $l-m$ is divisible by 5.



    The number of digits of $2^n$ is given by the inequality $10^s<2^n<10^s+1$. So $s<n log_10 2<s+1$. In particular $|nlog 2 - m log 7|<1$.






    share|cite|improve this answer
























      up vote
      1
      down vote













      Some basic observations:



      $n$ must be even: one has $2^n=7^m=1 pmod3$ and so $n$ is even.



      $n-m$ must be divisible by 3: one has $2^n=7^m=(-2)^m pmod9$ and so $2^n-m=(-1)^m pmod9$ and so $n-m$ is divisible by 3.



      $n-2m$ is divisible by 10 as the following two paragraph show.



      If the number of digits is even, then $2^n+7^m$ is a multiple of 11. Therefore, $2^n+(-4)^m =0 pmod11$. Since $n$ is even, we let $n=2l$, and so $4^l+(-4)^m=0 pmod11$. It follows that $m$ is odd and $l-m$ is divisible by 5.



      If the number of digits is odd, then $2^n=7^m pmod11$. Again we have $4^l=(-4)^m pmod11$ and so $4^l-m=(-1)^m pmod11$, which implies that $m$ is even and $l-m$ is divisible by 5.



      The number of digits of $2^n$ is given by the inequality $10^s<2^n<10^s+1$. So $s<n log_10 2<s+1$. In particular $|nlog 2 - m log 7|<1$.






      share|cite|improve this answer






















        up vote
        1
        down vote










        up vote
        1
        down vote









        Some basic observations:



        $n$ must be even: one has $2^n=7^m=1 pmod3$ and so $n$ is even.



        $n-m$ must be divisible by 3: one has $2^n=7^m=(-2)^m pmod9$ and so $2^n-m=(-1)^m pmod9$ and so $n-m$ is divisible by 3.



        $n-2m$ is divisible by 10 as the following two paragraph show.



        If the number of digits is even, then $2^n+7^m$ is a multiple of 11. Therefore, $2^n+(-4)^m =0 pmod11$. Since $n$ is even, we let $n=2l$, and so $4^l+(-4)^m=0 pmod11$. It follows that $m$ is odd and $l-m$ is divisible by 5.



        If the number of digits is odd, then $2^n=7^m pmod11$. Again we have $4^l=(-4)^m pmod11$ and so $4^l-m=(-1)^m pmod11$, which implies that $m$ is even and $l-m$ is divisible by 5.



        The number of digits of $2^n$ is given by the inequality $10^s<2^n<10^s+1$. So $s<n log_10 2<s+1$. In particular $|nlog 2 - m log 7|<1$.






        share|cite|improve this answer












        Some basic observations:



        $n$ must be even: one has $2^n=7^m=1 pmod3$ and so $n$ is even.



        $n-m$ must be divisible by 3: one has $2^n=7^m=(-2)^m pmod9$ and so $2^n-m=(-1)^m pmod9$ and so $n-m$ is divisible by 3.



        $n-2m$ is divisible by 10 as the following two paragraph show.



        If the number of digits is even, then $2^n+7^m$ is a multiple of 11. Therefore, $2^n+(-4)^m =0 pmod11$. Since $n$ is even, we let $n=2l$, and so $4^l+(-4)^m=0 pmod11$. It follows that $m$ is odd and $l-m$ is divisible by 5.



        If the number of digits is odd, then $2^n=7^m pmod11$. Again we have $4^l=(-4)^m pmod11$ and so $4^l-m=(-1)^m pmod11$, which implies that $m$ is even and $l-m$ is divisible by 5.



        The number of digits of $2^n$ is given by the inequality $10^s<2^n<10^s+1$. So $s<n log_10 2<s+1$. In particular $|nlog 2 - m log 7|<1$.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Aug 25 at 3:43









        Marco

        1,5497




        1,5497



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2893768%2freversing-digits-of-power-of-2-to-yield-power-of-7%23new-answer', 'question_page');

            );

            Post as a guest













































































            這個網誌中的熱門文章

            How to combine Bézier curves to a surface?

            Carbon dioxide

            Why am i infinitely getting the same tweet with the Twitter Search API?