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.

98 INTEGER FUNCTIONS<br />

31 Prove or disprove: 1x1 + \yJ + Lx + y] 6 12x1 + [ZyIJ .<br />

32 Let (Ix(( = min(x - 1x1, [xl -x) denote the distance from x to the nearest<br />

integer. What is the value of<br />

x 2kllx/2kJJ2 ?<br />

k<br />

(Note that this sum can be doubly infinite. For example, when x = l/3<br />

the terms are nonaero as k + -oo and also as k + +oo.)<br />

Exam problems<br />

33 A circle, 2n - 1 units in diameter, has been drawn symmetrically on a<br />

2n x 2n chessboard, illustrated here <strong>for</strong> n = 3:<br />

a How many cells of the board contain a segment of the circle?<br />

b Find a function f(n, k) such that exactly xc:: f(n, k) cells of the<br />

board lie entirely within the circle.<br />

34 Let f(n) = Et=, [lgkl.<br />

Find a closed <strong>for</strong>m <strong>for</strong> f(n) , when n 3 1.<br />

L Provethatf(n)=n-l+f([n/2~)+f(~n/Z])<strong>for</strong>alln~l.<br />

35 Simplify the <strong>for</strong>mula \(n + 1 )‘n! e] mod n. Simplify it, but<br />

36 Assuming that n is a nonnegative integer, find a closed <strong>for</strong>m <strong>for</strong> the sum<br />

don’t change the<br />

value,<br />

x<br />

l

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

Saved successfully!

Ooh no, something went wrong!