09.12.2012 Views

Concrete mathematics : a foundation for computer science

Concrete mathematics : a foundation for computer science

Concrete mathematics : a foundation for computer science

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

96 INTEGER FUNCTIONS<br />

Basics<br />

10 Show that the expression<br />

is always either 1x1 or [xl. In what circumstances does each case arise?<br />

11 Give details of the proof alluded to in the text, that the open interval<br />

(a.. (3) contains exactly [(31 - [a] - 1 integers when a < l3. Why does<br />

the case a = (3 have to be excluded in order to make the proof correct?<br />

12 Prove that<br />

n<br />

H L n+m-1<br />

- =<br />

m m J ’<br />

<strong>for</strong> all integers n and all positive integers m. [This identity gives us<br />

another way to convert ceilings to floors and vice versa, instead of using<br />

the reflective law (3.4).]<br />

13 Let a and fi be positive real numbers. Prove that Spec(a) and Spec( 6)<br />

partition the positive integers if and only if a and (3 are irrational and<br />

l/a+l/P =l.<br />

14 Prove or disprove:<br />

(xmodny)mody = xmody, integer n.<br />

15 Is there an identity analogous to (3.26) that uses ceilings instead of floors?<br />

16 Prove that n mod 2 = (1 - (-1)“) /2. Find and prove a similar expression<br />

<strong>for</strong> n mod 3 in the <strong>for</strong>m a + bw” + CW~“, where w is the complex number<br />

(-1 +i&)/2. Hint: cu3 = 1 and 1 +w+w’=O.<br />

17 Evaluate the sum &Gk 1 such<br />

that<br />

<strong>for</strong> all real x 3 1.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!