Shop OBEX P1 Docs P2 Docs Learn Events
fun with number 8 — Parallax Forums

fun with number 8

msrobotsmsrobots Posts: 3,709
edited 2016-09-13 18:44 in General Discussion
Just stumbled about this:
   1 * 8 + 1 = 9
  12 * 8 + 2 = 98
 123 * 8 + 3 = 987
1234 * 8 + 4 = 9876
....


Enjoy!

Mike
«13

Comments

  • Works all the way to 9 :) pretty cool

    Your messed up code tags are driving me crazy though :(
  • fixed
  • Heater.Heater. Posts: 21,230
    So...

    12345 * 8 + 5 = 98765
    123456 * 8 + 6 = 987654
    1234567 * 8 + 7 = 9876543
    12345678 * 8 + 8 = 98765432
    123456789 * 8 + 9 = 987654321
    12345678910 * 8 + 10 = 98765431290

    Durp, what am I supposed to now?

  • go figure!

    Enjoy!

    Mike
  • Heater.Heater. Posts: 21,230
    Well, speaking of the number 8...

    I'm still trying to figure out the value of X if:

    X to the power(X to the power(X to the power(X to the power(X to the power(X to the power(X to the power(X to the power(X to the power(...))))))))) = 8

    Any ideas?
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2016-09-13 22:21
    heater wrote:
    Well, speaking of the number 8...

    I'm still trying to figure out the value of X if:

    X to the power(X to the power(X to the power(X to the power(X to the power(X to the power(X to the power(X to the power(X to the power(...))))))))) = 8

    Any ideas?

    Yes, X == 1.5168551732304

    Edit: Actually, I'm not believing that answer. I think my Perl program might've overflowed somewhere without my knowing it. My calculator puts the lie to such a high number.

    Edit 2: Took care of the overflow. The correct answer is X == 1.29683955465101

    -Phil
  • ercoerco Posts: 20,256
    Jolly good fun. Of course if you want to have the MOST fun with 8, join us in the F8C, or Figure 8 Challenge over in robotics.
  • Heater. wrote: »
    So...

    12345 * 8 + 5 = 98765
    123456 * 8 + 6 = 987654
    1234567 * 8 + 7 = 9876543
    12345678 * 8 + 8 = 98765432
    123456789 * 8 + 9 = 987654321
    12345678910 * 8 + 10 = 98765431290

    Durp, what am I supposed to now?

    Just use a larger base! It won't be 8 anymore, though: it seems to me that it will always be baseN:10 - 2, i.e. the second highest digit in that base.

    For example, base36:123456789abcdefghijklmnopqrstuvwxyz * base36:y + base36:z = base36:zyxwvutsrqponmlkjihgfedcba987654321


    Everyone should install spigot. It's an infinite precision calculator that can do any base up to 36 and prints out digits forever as it comes up with them. It's great for all sorts of useless things, ranging from doing math in unusual bases to quickly evaluating lots of digits of sin(1e-1000) (which has interesting repeating digit patterns). You can even use Unix pipes to pipe numbers through it. There is a Windows version, but the author says it's slower. It's written by the same guy who wrote PuTTY.
  • Heater.Heater. Posts: 21,230
    edited 2016-09-14 05:42
    Good grief φπ, show your working! We always got marked down in school for not showing how we got a result even if the result was correct.

    Mine goes like this:

    I went out and got drunk, when I woke up in the morning strangely I had the same number on my screen as you.

    We have X ^ ( X ^ (X ^ (X ^ (...)))) = 8

    What is X ?

    Noticing that everything after the ^ on the left hand side is the same as the left hand side itself, when carried to infinity, we can rewrite that as:

    X ^ 8 = 8

    Take the log to the base 2 of both sides:

    log(X ^ 8 ) = log(8)

    Rearrange a bit:

    8 * log( X ) = 3

    log( X ) = 3 / 8

    Un log it:

    X = 2 ^ (3 / 8 )

    Pull out the calculator, well Javascript terminal:

    X = Math.pow(2, 3/8) = 1.2968395546510096

    Not quite the same as your result but pretty close. I guess perl can't do maths properly :)


  • Heater.Heater. Posts: 21,230
    edited 2016-09-14 06:31
    But wait, intuitively this seems crazy.

    We need to test it. Let's write a program:
    function powerStack(x) {
        return (Math.pow(x, powerStack(x)));
    }
    
    console.log(powerStack(1.2968395546510096, 10));
    
    Hmmm...that's no good. The stack will blow up. We need a bottom case to limit the recursion. Like so:
    function powerStack(x, depth) {
        if (depth > 0) {
            return (Math.pow(x, powerStack(x, --depth)));
        } else {
            // Return something here.
        }
    }
    
    But what to return when we bottom out? Why 8 of course, that is what we are told the result should be after all.
    function powerStack(x, depth) {
        if (depth > 0) {
            return (Math.pow(x, powerStack(x, --depth)));
        } else {
            return 8;
        }
    }
    
    OK. Let's run that for a few numbers and a recursion depth of 10...

    Firstly with my result:
    console.log(powerStack(1.2968395546510096, 10));
    >> 7.999999999997677
    
    Not bad, nearly 8.

    What about Phil's result:
    console.log(powerStack(1.29683955465101, 10));
    >> 8.000000000028201
    
    Pretty good.

    What about some nearby numbers:
    console.log(powerStack(1, 10));
    >> 1                                                                                                                                           
    console.log(powerStack(1.2, 10));
    1.2577425306807313                                                                                                                          
    console.log(powerStack(1.3, 10));
    Infinity
    
    Looks like our results are good, they get us closer to 8 than any of those.
  • Heater.Heater. Posts: 21,230
    edited 2016-09-14 06:25
    Of course this is cheating, we are only recursing 10 times then returning the result we are given in the first place!

    What if we recurse more:
    console.log(powerStack(1.2968395546510096, 1));
    console.log(powerStack(1.2968395546510096, 2));
    console.log(powerStack(1.2968395546510096, 4));
    console.log(powerStack(1.2968395546510096, 8));
    console.log(powerStack(1.2968395546510096, 16));
    console.log(powerStack(1.2968395546510096, 32));
    console.log(powerStack(1.2968395546510096, 64));
    console.log(powerStack(1.2968395546510096, 128));
    console.log(powerStack(1.2968395546510096, 256));
    console.log(powerStack(1.2968395546510096, 512));
    console.log(powerStack(1.2968395546510096, 1024));
    
    We get:
    7.999999999999998                                                                                                                           
    7.999999999999995                                                                                                                           
    7.9999999999999725                                                                                                                          
    7.9999999999994635                                                                                                                          
    7.99999999981214                                                                                                                            
    7.999977039369824                                                                                                                           
    1.4625054075196935                                                                                                                          
    1.4625014315037788                                                                                                                          
    1.4625014315037788                                                                                                                          
    1.4625014315037788                                                                                                                          
    1.4625014315037788                                                                                                                          
    
    Ooops. The harder we work the worse it gets. Then it blows up!

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2016-09-14 06:59
    Okay, okay. Here's my program:
    use strict;
    
    my $x = 1;
    my $dx = 1;
    
    while (1) {
      my $y = $x;
      foreach (0 .. 7) {
        $y **= $x;
        last if $y > 8
      }
      print "$x, $y\n";
      last if abs($y - 8)  < .0000000000001;
      if ($y > 8)  {
        $x = $x - $dx
      } else {
        $x = $x + $dx
      }
      $dx /= 2
    }
    

    Here's its output:
    1, 1
    2, 16
    1.5, 21.736669317657
    1.25, 3.78119164896876
    1.375, 8.60290908546412
    1.3125, 10.9652974084072
    1.28125, 6.04872487206759
    1.296875, 8.00538924779293
    1.2890625, 6.93020415486263
    1.29296875, 7.44062219508265
    1.294921875, 7.71579614605707
    1.2958984375, 7.85873510907984
    1.29638671875, 7.93159067043971
    1.296630859375, 7.96837117961325
    1.2967529296875, 7.98685040515035
    1.29681396484375, 7.99611236006944
    1.29684448242188, 8.00074893554422
    1.29682922363281, 7.99843018093355
    1.29683685302734, 7.99958944149264
    1.29684066772461, 8.00016915932838
    1.29683876037598, 7.99987929311343
    1.29683971405029, 8.00002422439658
    1.29683923721313, 7.99995175829893
    1.29683947563171, 7.99998799123374
    1.296839594841, 8.00000610778666
    1.29683953523636, 7.99999704950307
    1.29683956503868, 8.00000157864308
    1.29683955013752, 7.99999931407263
    1.2968395575881, 8.00000044635774
    1.29683955386281, 7.99999988021515
    1.29683955572546, 8.00000016328644
    1.29683955479413, 8.00000002175081
    1.29683955432847, 7.99999995098298
    1.2968395545613, 7.99999998636689
    1.29683955467772, 8.00000000405885
    1.29683955461951, 7.99999999521286
    1.29683955464861, 7.99999999963586
    1.29683955466317, 8.00000000184735
    1.29683955465589, 8.00000000074161
    1.29683955465225, 8.00000000018873
    1.29683955465043, 7.9999999999123
    1.29683955465134, 8.00000000005051
    1.29683955465089, 7.9999999999814
    1.29683955465111, 8.00000000001596
    1.296839554651, 7.99999999999867
    1.29683955465106, 8.00000000000732
    1.29683955465103, 8.000000000003
    1.29683955465102, 8.00000000000084
    1.29683955465101, 7.99999999999976
    1.29683955465101, 8.0000000000003
    1.29683955465101, 8.00000000000004
    

    -Phil
  • Heater.Heater. Posts: 21,230
    Very cunning Phil, you are using brute force and ignorance to probe around until you hit the number that gets close enough to the solution.

    Seems to be a bit of a lucky fluke that it works though. I can do that in Javascript:
    let x = 1;
    let dx = 1;
    
    while (1) {
        let y = x;
        for (let i = 0; i < 8; i += 1) {
            y = Math.pow(y, x);
            if (y > 8) break;
        }
        console.log(x, y);
        if (Math.abs(y - 8) < 0.0000000000001) break;
        if (y > 8) {
            x = x - dx;
        } else {
            x = x + dx;
        }
        dx /= 2;
    }
    
    Which for some odd reason produces a different and closer result:
    1 1
    2 16
    1.5 21.736669317657046
    1.25 3.7811916489687616
    1.375 8.60290908546412
    1.3125 10.965297408407158
    1.28125 6.0487248720675915
    1.296875 8.00538924779293
    1.2890625 6.930204154862627
    1.29296875 7.4406221950826525
    1.294921875 7.715796146057069
    1.2958984375 7.858735109079842
    1.29638671875 7.931590670439707
    1.296630859375 7.968371179613253
    1.2967529296875 7.986850405150348
    1.29681396484375 7.9961123600694375
    1.296844482421875 8.000748935544216
    1.2968292236328125 7.998430180933547
    1.2968368530273438 7.999589441492642
    1.2968406677246094 8.00016915932838
    1.2968387603759766 7.999879293113426
    1.296839714050293 8.00002422439658
    1.2968392372131348 7.999951758298929
    1.2968394756317139 7.999987991233737
    1.2968395948410034 8.000006107786655
    1.2968395352363586 7.999997049503068
    1.296839565038681 8.000001578643085
    1.2968395501375198 7.999999314072631
    1.2968395575881004 8.000000446357742
    1.2968395538628101 7.999999880215155
    1.2968395557254553 8.000000163286444
    1.2968395547941327 8.00000002175081
    1.2968395543284714 7.999999950982985
    1.296839554561302 7.999999986366888
    1.2968395546777174 8.000000004058855
    1.2968395546195097 7.999999995212863
    1.2968395546486136 7.999999999635856
    1.2968395546631655 8.000000001847349
    1.2968395546558895 8.000000000741608
    1.2968395546522515 8.000000000188727
    1.2968395546504325 7.999999999912297
    1.296839554651342 8.000000000050512
    1.2968395546508873 7.9999999999814
    1.2968395546511147 8.000000000015962
    1.296839554651001 7.999999999998675
    1.2968395546510578 8.000000000007319
    1.2968395546510294 8.000000000002998
    1.2968395546510152 8.00000000000084
    1.296839554651008 7.999999999999763
    1.2968395546510116 8.0000000000003
    1.2968395546510099 8.000000000000036
    
    But how do we know this is correct? How do we know that the loop doing the power raising does not blow up? For example if I iterate 7 or 9 times instead of 8 I get very different results:

    7 times gives
    1.3287967293444227 8.00000000000001

    9 times gives
    1.2711734332303317 8.000000000000046

    !!!

    I think that enough nerding out for the day. Might have to do some real work :)
  • heater wrote:
    But how do we know this is correct? How do we know that the loop doing the power raising does not blow up? For example if I iterate 7 or 9 times instead of 8 I get very different results:

    7 times gives
    1.3287967293444227 8.00000000000001

    9 times gives
    1.2711734332303317 8.000000000000046

    If you change the loop limit, you're computing a different function. The reason for the loop -- and testing inside it -- is to keep the function from blowing up, i.e. if I know x**x**x is too big, then x**x**x**x ...**x surely is, so I don't have to keep iterating. Truth be known, I should have written last if $y > 9 or somesuch, instead of 8, to make sure the result was going to be way too big.

    -Phil
  • Heater.Heater. Posts: 21,230
    Phil,

    Could you explain.

    What we want is to that power raising forever.Which we cannot. So we have to break out at some point. Like:

    1) The result is growing too big to be correct.

    2) The loop hangs, like it does if we start with 1.

    But, we get different results depending on the limit we use in 1).

    So, how do we know an 8 iteration limit is the correct function? Why not 9?

    When I fiddle with that iteration limit I get very different results.
  • You get different results because you're computing a different function. The function I though you wanted to compute was x**x**x**x**x**x**x**x**x, IOW eight times through the loop. Now I see that I missed the ellipsis in your original problem statement, so you want an infinite number of power raisings? Hmm. That's a whole 'nuther issue...

    Perhaps we can change the loop limit incrementally to see if the results approach some asymptotic limit.

    -Phil
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2016-09-14 15:20
    At this point, I'm pretty sure the answer in the infinite limit is X == 1. Here's my program:
    use strict;
    $| = 1;
    for (my $lim = 8; $lim <= 5000000; $lim *= 2) {
      my $x = 1;
      my $dx = 1;
      my $y;
      while (1) {
        $y = $x;
        foreach (1 .. $lim) {
          $y **= $x;
          last if $y > 10
        }
        last if abs($y - 8)  < .00000001;
        if ($y > 8)   {
          $x = $x - $dx
        } else {
          $x = $x + $dx
        }
        $dx /= 2
      }
      print "$lim: $x, $y\n";
    }
    

    The output:
    8: 1.29683955467772, 8.00000000405885
    16: 1.17375781928422, 8.00000000769393
    32: 1.10085007373709, 7.99999999408766
    64: 1.05799214192666, 7.99999999315076
    128: 1.03302487901965, 7.99999999596236
    256: 1.01862647504458, 7.99999999464305
    512: 1.01040983649364, 8.00000000780428
    1024: 1.00576879200617, 7.99999999984864
    2048: 1.00317246751092, 8.0000000031153
    4096: 1.00173270895925, 7.99999999681512
    8192: 1.00094057712215, 8.0000000066859
    16384: 1.00050780504699, 8.00000000173132
    32768: 1.00027283064068, 8.00000000130608
    65536: 1.00014595190025, 7.99999999554241
    131072: 1.00007777569743, 8.0000000003618
    262144: 1.00004130155211, 8.00000000405827
    524288: 1.00002186377525, 7.99999999094651
    1048576: 1.00001154114447, 8.00000000409997
    2097152: 1.00000607644636, 8.00000000868411
    4194304: 1.00000319172642, 7.9999999907273
    

    -Phil
  • Well! X is definitely not 1.
    1 to ANY power is still 1!
  • Heater.Heater. Posts: 21,230
    Ah, right. Yes those pesky dot, dot dots... are the whole point! Easily missed I guess.

    It's those dots that make the whole problem really weird.

    On the other hand it allows us to create that solution I came up with using log base 2.

    But that solution does not feel right because repeatedly raising 1.2...whatever to a power bigger than 1 feels like it should always run to infinity!
  • DaveJenson wrote:
    Well! X is definitely not 1.
    1 to ANY power is still 1!
    ... except when you're dealing with infinite limits, where things can seem weird. In this case, any value of X greater than 1 will cause the function to blow up. So what is X? Now I'm not sure the question even makes sense.

    -Phil
  • Heater.Heater. Posts: 21,230
    Cannot be 1.

    1 to the 1 to the 1 to the 1 to the ... = 8

    is

    1 to the (1 to the 1 to the 1 to the ...) = 8

    Where the part in braces is the same as what we started with, which we are told is 8. So we can write:

    1 to the 8 = 8

    But that is wrong. 1 to the 8 = 1.

    My solution using logs above seems more plausible.

    Does the question make sense. Sure in the same way that

    1 + 2 + 3 + 4 + 5 + ... = -1/12

    does.





  • Heater.Heater. Posts: 21,230
    edited 2016-09-14 17:14
    OK Phil,

    It makes as much sense as root (1 + root (1 + root (1 + root (1 + root (1 + root (1 + ...)))))) = φ

    Which I think you will like:


  • Heater is right.
    x^(x^(x^(x^(...)))) = 8
    The stuff inside the outermost set of parentheses is the same as the whole LHS, which equals 8. Therefore,
    x^8 = 8
    x = 8^(1/8)
    And...
    $ spigot '8^(1/8)'
    1.29683955465100966593375411779245115983534514942496551280779052262901462564734435561459590757239550541606859340173894680746769304964931726951370216698765069981584531225478356031317045086961039317086311288410120466867592249001631625047718520604619100042796218519098563650039372828759134887736372131773131538625773379130454316716330157984862511664567021427023665451604043366385981948324892453028133227280993336324035967674895947638328131614964970227838743601213398858327324546857920237829312501116584900309606394398206851044378802497898467324323974629755920661901773064249044647669235737120681385486720184105815923116019502472604387080470584349969815854445585798546924216165303389289694047635901049568797542259431312397691380233684946509869564685059246541371349673295256692177658874601164980912350753309975832190287720386010374737626923009802366146142988458937909042701305688816575867866815755336049263493104536099918961841676624797068194001762422335615650345991693169743474220413543094914093415312254958877854945275904798598321586619125978624557682586463440475255755116185463095162731710517329956846655426312109064134641011619129993814828126437815485210983099289475688528331641607483205449682302402631873645256643697314627451741532724557369291948906416122346467353827776446353131585930856005708485551461891914780274321058344468912925667675245127563450466758687552612809623015021141363621364299592861351257579014621420759337373363678372686945210893425939849884283168820359277167604204522069209947256315160143422873935827554221175187344861935400157601450179355361982277555056009680473148222443728058327661617247024782112253938696872770375433710421209802921193455139383071123656680199853999437685036631572845942655504256321288536211498579976596464892887050020289485847880340123125379310991996259273610237585402946546002956504268725851804734316950464973568553749960233639738639411545790575155382501607467690622892953005179297832659791412954639516874876640678558612976934644026713548053109745498168984489270270082717088143069102505016650529981884499534793145161983747703241417725458087521473457964977060715054564870866376943458375629146259754844106948094088385941463427330125890651773014028057275589009377123340204343445384084892252550991369005467849714794287462814974560671228423469921737480358951281127266481226438592640676366378269344496545279198670133337959921659497592215334609625789400280987999553481117090674885462951206247163331608817127850182728539501810524835386202889176659063804953397006648593867400048883577451031371688143768026815500207687826251766441857856907456303877616945856757785432798940190192917309119409732208733573673064884694305499564528806107496749131528852690100706692749540088123237840352655306245827135461405155371766939321420899550097291589594408940341651367109396025383603273877814642901724381831199720371771110188404232479225727309694421615746773667030659370526854267606973624490330101331900691097946409365353854489472274202346106367115253162812451611839601624471398429122351779139610029020062070039309934455727956522790710755988232555648793164102203065458298532878926761514013456309489600927344674545880713290667277667293061534861844538933547570452335236737676696283368268739588147341400235312471055488592875679162607791757371921233246961927488780821831615865510614505024245173201075660101167600961596467766970292342471513185788174594573364054701590569560345066335254500013712975331817053570262554149966177829846168992400514392619614735266053701136254608418321449849079075575364728427468776525794481026103734534873385468552488019645^C
    
  • Heater,

    It doesn't matter how infinitessimally close to 1 X is without reaching it. The infinite progression of powers will blow up to infinity. It will never equal 8. Therefore there is no solution, even though it asymptotically approaches 1.

    -Phil
  • Not all equations have a solution. The equation "11+3x-7 = 6x+5-3x" reduces to "4 = 5". Clearly there is no value of x where 4 equals 5, so this equation has no solution. This is also true of Heater's equation. It has no solution.

    Heater's faulty logic was in the statement "Noticing that everything after the ^ on the left hand side is the same as the left hand side itself, when carried to infinity". This is only true if x equals 1. However, it x is one, then the result is also 1, and not 8. Hence, there is no solution.
  • Heater.Heater. Posts: 21,230
    @Phil,

    I can't go with the exploding argument.

    In order to calculate:

    1 to the 1 to the 1 to the 1 to the ...

    We start with a 1 and then have to raise it to the power (1 to the 1 to the 1 to the 1 to the ...)

    Which is he same as our original problem. We can not even start. How can we say it explodes? Or how can we say it asymptotically approaches anything in particular?


    @Dave Hein,
    The equation "11+3x-7 = 6x+5-3x" ... has no solution.
    That does not sound right. It's not a valid question. That thing is not an equation.

    What you have is two functions:

    f(x) = 11+3x-7 = 3x + 4

    and

    f'(x) = 6x+5-3x = 3x + 5

    So the questions might be:

    Is there a value of x for which f(x) = f'(x) ?

    Might be, might not be. Might be a complex solution.

    Or, are those two functions actually the same thing? Are they an identity?
    Heater's faulty logic was in the statement "Noticing that everything after the ^ on the left hand side is the same as the left hand
    side itself, when carried to infinity". This is only true if x equals 1. However, it x is one, then the result is also 1, and not 8.
    Hence, there is no solution.
    How is everything after the ^ not the same as what I started with? The thing I start with is a "power tower" running to infinity. I have
    to raise that first X to the power of the same power tower running to infinity.

    @Electrodude

    Wow, thankyou. I think I love spigot. It agrees with me :) Odd I have never heard of it, must check it out.

    Now, I agree with everyone, there is a very suspect assumption in my "proof". Perhpas the Mathologer has a better answer. He did not say in the video
    that he posed the problem in.

    Before anyone rights this kind of thing off as meaningless, don't forget that when Newton invented the differential calculus his main trick
    is in finding a way to calculate 0/0 and get a meaningful result!
  • Heater, you are saying that the answer is a number greater than 1. Replacing x with your answer gives the equation "infinity = 8", which is clearly wrong. The only way that everything after the ^ is the same as what you started with is for x to be equal to 1. However, 1 is not equal to 8 either. Your logic is faulty.
  • I don't see how Heater's logic is faulty. That same trick works for other infinitely long expressions. I guess Ramanujan's formula for 3 is different because the coefficient changes every time.

    While bored in 7th grade math class, I discovered that 1+1/(1+1/(1+1/(1+1/(1+1/(1+1/(...)))))) = φ. Eventually, I found out about continued fractions, and learned that φ as a continued fraction is [1;1,1,1,1,1,1,1,1,...], which is basically what I came up with. I don't know why infinite continued fractions work but Ramanujan's formula for 3 doesn't.

    Double floats are nowhere near enough for the sort of math we're doing here. I took the value for x that Heater came up with (1.29683955..., I needn't post the rest again), and had calc (C style arbitrary precision calculator) run the following script on it to evaluate x^x^x^x^x^x...:
    #!/usr/bin/calc -f
    
    oldeps = epsilon(1e-1000); /* do calculations to 1000 digits of precision */
    olddisp = display(1000); /* display 1000 digits */
    
    x = 8^(1/8);
    y = 8;
    
    for (i = 0; i < 1000; i++) y=x^y;
    
    y /* output y */
    
    It gave 8 plus some, with the last third or so of the digits being non-zero. If I change epsilon to 1e-10000, the error goes away. If I let it go long enough, it would blow up.
  • Heater is right.
    x^(x^(x^(x^(...)))) = 8
    The stuff inside the outermost set of parentheses is the same as the whole LHS, which equals 8. Therefore,
    x^8 = 8
    x = 8^(1/8)
    And...
    $ spigot '8^(1/8)'
    1.29683955465100966593375411779245115983534514942496551280779052262901462564734435561459590757239550541606859340173894680746769304964931726951370216698765069981584531225478356031317045086961039317086311288410120466867592249001631625047718520604619100042796218519098563650039372828759134887736372131773131538625773379130454316716330157984862511664567021427023665451604043366385981948324892453028133227280993336324035967674895947638328131614964970227838743601213398858327324546857920237829312501116584900309606394398206851044378802497898467324323974629755920661901773064249044647669235737120681385486720184105815923116019502472604387080470584349969815854445585798546924216165303389289694047635901049568797542259431312397691380233684946509869564685059246541371349673295256692177658874601164980912350753309975832190287720386010374737626923009802366146142988458937909042701305688816575867866815755336049263493104536099918961841676624797068194001762422335615650345991693169743474220413543094914093415312254958877854945275904798598321586619125978624557682586463440475255755116185463095162731710517329956846655426312109064134641011619129993814828126437815485210983099289475688528331641607483205449682302402631873645256643697314627451741532724557369291948906416122346467353827776446353131585930856005708485551461891914780274321058344468912925667675245127563450466758687552612809623015021141363621364299592861351257579014621420759337373363678372686945210893425939849884283168820359277167604204522069209947256315160143422873935827554221175187344861935400157601450179355361982277555056009680473148222443728058327661617247024782112253938696872770375433710421209802921193455139383071123656680199853999437685036631572845942655504256321288536211498579976596464892887050020289485847880340123125379310991996259273610237585402946546002956504268725851804734316950464973568553749960233639738639411545790575155382501607467690622892953005179297832659791412954639516874876640678558612976934644026713548053109745498168984489270270082717088143069102505016650529981884499534793145161983747703241417725458087521473457964977060715054564870866376943458375629146259754844106948094088385941463427330125890651773014028057275589009377123340204343445384084892252550991369005467849714794287462814974560671228423469921737480358951281127266481226438592640676366378269344496545279198670133337959921659497592215334609625789400280987999553481117090674885462951206247163331608817127850182728539501810524835386202889176659063804953397006648593867400048883577451031371688143768026815500207687826251766441857856907456303877616945856757785432798940190192917309119409732208733573673064884694305499564528806107496749131528852690100706692749540088123237840352655306245827135461405155371766939321420899550097291589594408940341651367109396025383603273877814642901724381831199720371771110188404232479225727309694421615746773667030659370526854267606973624490330101331900691097946409365353854489472274202346106367115253162812451611839601624471398429122351779139610029020062070039309934455727956522790710755988232555648793164102203065458298532878926761514013456309489600927344674545880713290667277667293061534861844538933547570452335236737676696283368268739588147341400235312471055488592875679162607791757371921233246961927488780821831615865510614505024245173201075660101167600961596467766970292342471513185788174594573364054701590569560345066335254500013712975331817053570262554149966177829846168992400514392619614735266053701136254608418321449849079075575364728427468776525794481026103734534873385468552488019645^C

    This only goes to show that there is yet another way to mislead with an inductive "proof." :)

    -Phil
  • Heater.Heater. Posts: 21,230
    edited 2016-09-15 10:23
    Turns out that Heaters faulty logic, or shall we say "suspect" logic is actually correct. At least according Euler.

    From wikipedia: https://en.wikipedia.org/wiki/Tetration#Extension_to_infinite_heights

    'In general, the infinitely iterated exponential {\displaystyle x^{x^{\cdot ^{\cdot ^{\cdot }}}}} x^{x^{\cdot ^{\cdot ^{\cdot }}}}, defined as the limit of {\displaystyle {}^{n}x} {}^{n}x as n goes to infinity, converges for e−e ≤ x ≤ e1/e, roughly the interval from 0.066 to 1.44, a result shown by Leonhard Euler.[10] The limit, should it exist, is a positive real solution of the equation y = x^y. Thus, x = y^(1/y). '

    Taking the part in bold there and applying it to the problem we have:

    8 ^ (1 / 8 )

    Or in Javascript:

    Math.pow(8, 1 / 8 )
    1.2968395546510096

    Which is what I said it should be. And is Electrodude's solution.

    Given that 1.2968395546510096 is less than e ^ (1 / e) then Euler says we are good to go.

    Of course the tricky part here is proving our logic is correct. Euler could do it. I cannot :)
Sign In or Register to comment.