Question: Consider the algorithm that computes first xi 0 for each i , using the fast exponentiation algorithm from lectures ( without taking mod ) .

Consider the algorithm that computes first xi 0 for each i, using the fast exponentiation algorithm from lectures (without taking mod). Then, it computes a1x0, a2x20, a3x30,...,anxn0(independently) and, fi- nally, it adds all of these numbers to a0 to obtain p(x0). How many sums and how many multiplica- tions are involved in this algorithm? Please provide short explanations. (You can give your answer in O-notation.)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!