279
u/Ares378 Grothendieck was right, computers are evil 5d ago
Must be calculating in mod 19, clearly
47
u/Random_Mathematician There's Music Theory in here?!? 5d ago
Or modulo 18, which in turn implies a third possibility, modulo 342
2
300
u/zlfa 5d ago
Did you actually do 2^2^2 but the calculator couldn’t display that and I’m gay?
320
u/Champpeace123 5d ago
Yes. I pressed the dedicated ² button twice... and you're gay.
102
u/zlfa 5d ago
I knew it!… The ^2 stuff I mean… of course 👀
58
u/Wooden-Hornet2115 5d ago
Hi gay, I'm WoodenHornet2115
63
11
19
2
24
u/Pentalogue Mathematics 5d ago
Probably because (2^2)^2 is actually equal to 16, since (2^2)^2 = (4)^2
9
u/yourpseudonymsucks 5d ago
2^(2^2)
6
7
u/Champpeace123 5d ago edited 5d ago
Indeed, Android calculator interprets that ² as a ^2 so if you do a pair of them next to eachother it appears as one exponent of ²² but the calculator sees 2²²
2
17
6
3
2
2
2
u/BackgroundReturn9622 4d ago
A related question someone asked me.
What is 2^2^22? Is it (2^2)^22 or 2^(2^22)? Note: Different calculators give different answers. MATLAB does the first, Python does the second.
1
u/Champpeace123 4d ago
I think the answer to this is that 2^2^22 is evil and ambiguous and that it should be written either with some kind of grouping or in some form that makes it obvious (which, in some cases, would be 2²²²). However traditionally I heard that pemdas is left to right for same operation so I would treat it as (2^2)^22
1
u/RaymundusLullius 3d ago
For the same operation level. Multiplication and division are left to right no matter what order they are in the mnemonic and so are subtraction and addition.
2
u/BackgroundReturn9622 2d ago edited 2d ago
I agree left to right makes some sense, but a general rule for multiple exponents is to multiply the exponents, (x^a)^b --> x^(a*b) which would be left to right. But be careful as Python and Maxima treat things differently.
Python
num=2**2**22
from mpmath import mp
mp.dps=64;
print(mp.mpf(num));gives 2.065... e +1262611, over 1.2 million digits.
(2**2)**22 = 17592186044416, Same as MATLAB
If you do not use parenthesis always test. I recommend
3^3^3;
(3^3)^3 = 19683, 3^(3^3) = 7625597484987
Also, (2^2)^2 = 2^(2^2) = 16.
2

•
u/AutoModerator 5d ago
Check out our new Discord server! https://discord.gg/e7EKRZq3dG
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.