Remix.run Logo
Sharlin 9 hours ago

Is it buggy for at least 2^(n)^2? It gives 4 for any n, but surely for example 2^^2 = 2^(2^2) != 4?

OgsyedIE 9 hours ago | parent [-]

2^^2 != 2^(2^2). Instead, 2^^2 = 2^2.

This will make more sense if you look at how the inputs a,b,n in the toy (2,2,3) and (2,3,3) present differently.

Sharlin 5 hours ago | parent [-]

Yeah, got it now, thanks!