What is the remainder?

This problem’s question: {\color{#D61F06}\text{This problem's question:}} What is the remainder? ( 2 2 2 2 2 2 2 2 2 2 m o d 18446744073709551619 ) (2^{2^{2^{2^{2^{2^{2^{2^{2^2}}}}}}}} \bmod 18446744073709551619)

The modulus is 2 2 6 + 3 2^{2^6}+3 .

As expressed above, this problem breaks Wolfram Mathematica 12. {\color{#EC7300}\text{As expressed above, this problem breaks Wolfram Mathematica 12.}} There exists another, equivalent Wolfram Mathematica 12 expression that works.

Hint: since no one else has solved the problem, use the PowerMod function and divide the power tower in half. That is the other, equivalent Wolfram Mathematica 12 expression that works.

A number theoretic approach may work.


The answer is 2047291311358963671.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

The equivalent Wolfram Mathematica 12 expression is PowerMod[2^2^2^2^2, 2^2^2^2^2, 2^2^6 + 3] or ( ( 2 2 2 2 2 ) 2 2 2 2 2 m o d ( 2 2 6 + 3 ) ) 2047291311358963671 (\left(2^{2^{2^{2^2}}}\right)^{2^{2^{2^{2^2}}}} \bmod \left(2^{2^6}+3\right)) \Rightarrow 2047291311358963671 It executes in a small number of milliseconds on my computer.

The PowerMod function uses the Mod function on intermediate values as needed to expedite the computation while working to the final answer. This function is used in cryptographic number theory.

log 10 ( 2 2 2 2 2 log 10 ( 2 2 2 2 2 ) ) 19732.5968855376 \log _{10}\left(2^{2^{2^{2^2}}} \log _{10}\left(2^{2^{2^{2^2}}}\right)\right) \approx 19732.5968855376 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...