Question: Let m , n i n R + , and [ * ] : R Z be the floor function. Question 1 ( 2 pts

Let m,ninR+, and [*]:RZ be the floor function.
Question 1(2 pts). Prove that [m]+[n][m+n][m]+[n]+1.
Hint: Write m=[m]+{m},n=[n]+{n}, where [m],[n]inZ and {m},{n}in[0,1).
Question 2(2 pts). Based on the previous sub-question, prove that if x,yinN s.t.x is k-bits
and y is l-bits, then their products xy is at most (k+l)-bits.
Question 3(2 pts). Based on the previous sub-question, prove that if ninN is k-bits, then
AAdinN,nd is at most dk-bits.
Question 4(4 pts). Based on the previous sub-question, prove that for m,ninN,mn2,
T(Cnm)=O(m2(log2n)2)
 Let m,ninR+, and [*]:RZ be the floor function. Question 1(2 pts).

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!