hw0 - CS 373 Homework 0 (due 1/26/99) Spring 1999 CS 373:...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CS 373 Homework 0 (due 1/26/99) Spring 1999 CS 373: Combinatorial Algorithms, Spring 1999 http://www-courses.cs.uiuc.edu/ cs373 Homework 0 (due January 26, 1999 by the beginning of class) Name: Net ID: Alias: Neatly print your name (first name first, with no comma), your network ID, and a short alias into the boxes above. Do not sign your name. Do not write your Social Security number. Staple this sheet of paper to the top of your homework. Grades will be listed on the course web site by alias, so your alias should not resemble your name (or your Net ID). If you do not give yourself an alias, you will be stuck with one we give you, no matter how much you hate it. Everyone must do the problems marked . Problems marked a3 are for 1-unit grad students and others who want extra credit. (Theres no such thing as partial extra credit!) Unmarked problems are extra practice problems for your benefit, which will not be graded. Think of them as potential exam questions. Hard problems are marked with a star; the bigger the star, the harder the problem. This homework tests your familiarity with the prerequisite material from CS 225 and CS 273 (and their prerequisites)many of these problems appeared on homeworks and/or exams in those classesprimarily to help you identify gaps in your knowledge. You are responsible for filling those gaps on your own. Undergrad/.75U Grad/1U Grad Problems 1. [173/273] (a) Prove that any positive integer can be written as the sum of distinct powers of 2 . (For example: 42 = 2 5 + 2 3 + 2 1 , 25 = 2 4 + 2 3 + 2 , 17 = 2 4 + 2 .) (b) Prove that any positive integer can be written as the sum of distinct nonconsecutive Fi- bonacci numbersif F n appears in the sum, then neither F n +1 nor F n 1 will. (For example:...
View Full Document

This note was uploaded on 12/15/2009 for the course 942 cs taught by Professor A during the Spring '09 term at University of Illinois at Urbana–Champaign.

Page1 / 4

hw0 - CS 373 Homework 0 (due 1/26/99) Spring 1999 CS 373:...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online