<< Prev Showing: 131-135 of 418 Next >>
· 106-110 · 111-115 · 116-120 · 121-125 · 126-130 · 131-135 · 136-140 · 141-145 · 146-150 · 151-155 · 156-160 ·If n >= 1, the number of strings using the digits 0,1, and 2 with no two consecutive places holding the same digit, is 3x2^n-1. For example, there are 12 such strings of length three: 010, 012, 020, 021, 101, 102, 120, 121, 201, 202, 210, and 212. Prove this claim by induction on the length of the strings. Is the formula true for n=0?
Subject:
Math
Topic:
Discrete Structures
Posting ID:
25320
OTA ID:
101298
Attached in word document Numbers of the form tn = n (n+1) / 2 are called triangular numbers, because marbles arranged in an equilateral triangle, n on a side, will total... (see attachment)
Subject:
Math
Topic:
Discrete Structures
Posting ID:
25328
OTA ID:
104455
If no two strings in a code differ in fewer than three positions, the we can actually correct a single error, by finding the unique string in the code that differs from the received string in only one position. It turns out that there is a code of 7-bit strings that corrects single errors and contains 16 strings. Find such a code. Hint: Reasoning it out is probably best, but if you get stuck, write a program that searches for the string. From the example in the book - the strings would be like ASCII sequence of bits - whereby ASCII has a seven bit code and then a parity bit placed on the front for error detecting.
Subject:
Math
Topic:
Discrete Structures
Posting ID:
25365
OTA ID:
104572
We can define sorted lists of integers as follows: BASIS - A list consisting of a single integer is sorted. INDUCTION - If L is a sorted list in which the last element is a and if b >= a, then L followed by b is a sorted list. Prove that this recursive definition of "sorted list" is equivalent to our original, nonrecursive definition, which is that the list consist of integers a1 <= a2 <= .... <= an Remember, you need to prove to parts: (a) If a list is sorted by the recursive definition, then it is sorted by the nonrecursive definition (b) if a list is sorted by the nonrecursive definition, then it is sorted by the recursive definition. Part(a) can use induction on... click for more
Subject:
Math
Topic:
Discrete Structures
Posting ID:
25366
OTA ID:
104455
Define recursively the set of even-parity strings, by induction on the length of the string. Hint: It helps to define two concepts simultaneously, both the even-parity and odd-parity strings.
Subject:
Math
Topic:
Discrete Structures
Posting ID:
25422
OTA ID:
104459
<< Prev Showing: 131-135 of 418 Next >>
· 1-5 · 6-10 · 11-15 · 16-20 · 21-25 · 26-30 · 31-35 · 36-40 · 41-45 · 46-50 · 51-55 · 56-60 · 61-65 · 66-70 · 71-75 · 76-80 · 81-85 · 86-90 · 91-95 · 96-100 · 101-105 · 106-110 · 111-115 · 116-120 · 121-125 · 126-130 · 131-135 · 136-140 · 141-145 · 146-150 · 151-155 · 156-160 · 161-165 · 166-170 · 171-175 · 176-180 · 181-185 · 186-190 · 191-195 · 196-200 · 201-205 · 206-210 · 211-215 · 216-220 · 221-225 · 226-230 · 231-235 · 236-240 · 241-245 · 246-250 · 251-255 · 256-260 · 261-265 · 266-270 · 271-275 · 276-280 · 281-285 · 286-290 · 291-295 · 296-300 · 301-305 · 306-310 · 311-315 · 316-320 · 321-325 · 326-330 · 331-335 · 336-340 · 341-345 · 346-350 · 351-355 · 356-360 · 361-365 · 366-370 · 371-375 · 376-380 · 381-385 · 386-390 · 391-395 · 396-400 · 401-405 · 406-410 · 411-415 · 416-418 ·Page generated in 0.0966 seconds