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.

3 EXERCISES 97<br />

20 Find the sum of all multiples of x in the closed interval [(x.. fi], when<br />

x > 0.<br />

21 How many of the numbers 2", <strong>for</strong> 0 6 m < M, have leading digit 1 in<br />

decimal notation?<br />

22 Evaluate the sums S, = &, [n/2k + ij and T, = tk3, 2k [n/2k + i] 2.<br />

23 Show that the nth element of the sequence<br />

1,2,2,3,3,3,4,4,4,4,5,5,5,5,5,...<br />

is [fi + 51. (The sequence contains exactly m occurrences of m.)<br />

24 Exercise 13 establishes an interesting relation between the two multisets<br />

Spec(oL) and Spec(oc/(ol- l)), when OL is any irrational number > 1,<br />

because 1 /OL + ( OL - 1 )/OL = 1. Find (and provej an interesting relation<br />

between the two multisets Spec(a) and Spec(oL/(a+ l)), when OL is any<br />

positive real number.<br />

25 Prove or disprove that the Knuth numbers, defined by (3.16), satisfy<br />

K, 3 n <strong>for</strong> all nonnegative n.<br />

26 Show that the auxiliary Josephus numbers (3.20) satisfy<br />

<strong>for</strong> n 3 0.<br />

27 Prove that infinitely many of the numbers DF’ defined by (3.20) are<br />

even, and that infinitely many are odd.<br />

28 Solve the recurrence<br />

a0 = 1;<br />

an= an-l + lJan-l.l, <strong>for</strong> n > 0.<br />

29 Show that, in addition to (3.31), we have<br />

D(oL,n) 3 D(oI’, 1an.J) - 0~~’ -2.<br />

30 Show that the recurrence<br />

X0 = m,<br />

x, = x:-,-2, <strong>for</strong> n > 0,<br />

has the solution X, = [01~“1, if m is an integer greater than<br />

a + 0~~’ = m and OL > 1. For example, if m = 3 the solution is<br />

x, = [@2n+’ 1 )<br />

l+Js<br />

4=-y-, a = a2.<br />

2, where

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

Saved successfully!

Ooh no, something went wrong!