Calculate the exact value f l o o r ( <mrow class="MJX-TeXAtom-ORD"> &#x3C

aangenaamyj

aangenaamyj

Answered question

2022-07-08

Calculate the exact value f l o o r ( π k ) without actually calculating the huge value of π k .

Answer & Explanation

lofoptiformfp

lofoptiformfp

Beginner2022-07-09Added 16 answers

The only way I know of to speed up exponentiation modulo an integer n (compared to general exponentiation) is using the fact that everything is integers to reduce the intermediate results modulo n. As the intermediate results in your case aren't integers, you can't do that.
The only transformation I can see of your expression is:
x k ( mod n ) = x k ( mod n )
and that doesn't make the computation any easier.

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?