brain

tamnd's digital brain — notes, problems, research

41421 notes

TAOCP 7.2.2.2 Exercise 36

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 369

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4
TAOCP 7.2.2.2 Exercise 368

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4research
TAOCP 7.2.2.2 Exercise 367

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 366

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 365

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4math-project
TAOCP 7.2.2.2 Exercise 364

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4math-medium
TAOCP 7.2.2.2 Exercise 363

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4math-hard
TAOCP 7.2.2.2 Exercise 362

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 361

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4math-medium
TAOCP 7.2.2.2 Exercise 360

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4math-medium
TAOCP 7.2.2.2 Exercise 359

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 358

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4math-medium
TAOCP 7.2.2.2 Exercise 357

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4math-medium
TAOCP 7.2.2.2 Exercise 356

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4math-hard
TAOCP 7.2.2.2 Exercise 355

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4hm-medium
TAOCP 7.2.2.2 Exercise 354

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4hm-medium
TAOCP 7.2.2.2 Exercise 353

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4math-medium
TAOCP 7.2.2.2 Exercise 352

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4math-medium
TAOCP 7.2.2.2 Exercise 351

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 350

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4hm-hard
TAOCP 7.2.2.2 Exercise 349

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4math-medium
TAOCP 7.2.2.2 Exercise 348

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4hm-hard
TAOCP 7.2.2.2 Exercise 347

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4math-hard
TAOCP 7.2.2.2 Exercise 346

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4hm-hard
TAOCP 7.2.2.2 Exercise 345

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4math-hard
TAOCP 7.2.2.2 Exercise 344

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4math-hard
TAOCP 7.2.2.2 Exercise 343

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4math-medium
TAOCP 7.2.2.2 Exercise 342

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4hm-medium
TAOCP 7.2.2.2 Exercise 341

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4math-medium
TAOCP 7.2.2.2 Exercise 340

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4math-medium
TAOCP 7.2.2.2 Exercise 34

The proposed solution answers all parts of the exercise and, unlike the earlier attempts, the proof of part (b) uses the correct key idea.

taocpmathematicsalgorithmsvolume-4hm-hard
TAOCP 7.2.2.2 Exercise 339

Let $\alpha$ be a trace, represented by its occurrences $x_1,\ldots,x_n$.

taocpmathematicsalgorithmsvolume-4hm-hard
TAOCP 7.2.2.2 Exercise 338

The proposed solution does not answer the question asked.

taocpmathematicsalgorithmsvolume-4math-medium
TAOCP 7.2.2.2 Exercise 337

The proposed solution does not answer the question asked.

taocpmathematicsalgorithmsvolume-4math-medium
TAOCP 7.2.2.2 Exercise 336

The proposed solution does not answer the question asked.

taocpmathematicsalgorithmsvolume-4math-medium
TAOCP 7.2.2.2 Exercise 335

Let S=\sum_{\alpha\in A}\alpha and

taocpmathematicsalgorithmsvolume-4hm-hard
TAOCP 7.2.2.2 Exercise 333

Let S=\sum_{\alpha\in A}\alpha and

taocpmathematicsalgorithmsvolume-4math-medium
TAOCP 7.2.2.2 Exercise 332

Let $\alpha=x_1x_2\ldots x_n$ be a trace.

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 331

Let $\alpha=x_1x_2\ldots x_n$ be a trace.

taocpmathematicsalgorithmsvolume-4math-medium
TAOCP 7.2.2.2 Exercise 330

Let $\alpha=x_1x_2\ldots x_n$ be a trace.

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 33

Let $\alpha=x_1x_2\ldots x_n$ be a trace.

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 329

Let $\alpha=x_1x_2\ldots x_n$ be a trace.

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 328

Let $\alpha=x_1x_2\ldots x_n$ be a trace.

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 327

Let $\alpha=x_1x_2\ldots x_n$ be a trace.

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 326

Let $\alpha=x_1x_2\ldots x_n$ be a trace.

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 325

Let $\alpha=x_1x_2\ldots x_n$ be a trace.

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 324

Let $\alpha=x_1x_2\ldots x_n$ be a trace.

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 323

The list (135) orders traces first by length and then lexicographically.

taocpmathematicsalgorithmsvolume-4simple
TAOCP 7.2.2.2 Exercise 322

Let the four events be represented by the pair of indicators $(A,C)$ and $(B,D)$.

taocpmathematicsalgorithmsvolume-4hm-hard
TAOCP 7.2.2.2 Exercise 321

Let the four events be represented by the pair of indicators $(A,C)$ and $(B,D)$.

taocpmathematicsalgorithmsvolume-4math-medium
TAOCP 7.2.2.2 Exercise 320

Let $\mu(G)$ denote the Möbius polynomial of a graph $G$ with all vertex probabilities equal to $p$.

taocpmathematicsalgorithmsvolume-4hm-medium
TAOCP 7.2.2.2 Exercise 32

The proposed solution does not answer Exercise 7.

taocpmathematicsalgorithmsvolume-4simple
TAOCP 7.2.2.2 Exercise 319

Let t=d-1 .

taocpmathematicsalgorithmsvolume-4hm-medium
TAOCP 7.2.2.2 Exercise 318

Let $t=d-1$.

taocpmathematicsalgorithmsvolume-4hm-hard
TAOCP 7.2.2.2 Exercise 317

Let $G$ be the dependency graph from (133), with vertices corresponding to the events $A_1,\ldots,A_m$.

taocpmathematicsalgorithmsvolume-4math-hard
TAOCP 7.2.2.2 Exercise 316

Theorem J is a direct consequence of Theorem L.

taocpmathematicsalgorithmsvolume-4hm-medium
TAOCP 7.2.2.2 Exercise 315

Theorem J states that if every vertex of $G$ has degree at most $d$, then the symmetric probability vector $(p,\ldots,p)$ belongs to $R(G)$ when p\leq \frac{(d-1)^{d-1}}{d^d}, for $d>1$.

taocpmathematicsalgorithmsvolume-4math-medium
TAOCP 7.2.2.2 Exercise 314

The statement of this exercise depends on two definitions that are not included in the supplied context: the probability distribution of exercise 306(k) and the generating functions referred to as the...

taocpmathematicsalgorithmsvolume-4project
TAOCP 7.2.2.2 Exercise 313

The statement of this exercise depends on two definitions that are not included in the supplied context: the probability distribution of exercise 306(k) and the generating functions referred to as the...

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 312

The statement of this exercise depends on two definitions that are not included in the supplied context: the probability distribution of exercise 306(k) and the generating functions referred to as the...

taocpmathematicsalgorithmsvolume-4hm-medium
TAOCP 7.2.2.2 Exercise 311

The computation in this exercise is an experimental comparison, so the numerical values depend on the $100$ distributions $p^{(m)}$ defined in exercise 306(b) and on the exact cost function $l(N)$ def...

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 310

The proposed solution has the correct high-level idea that the reluctant Fibonacci sequence should be generated by applying a reluctant schedule to Fibonacci values rather than by ordinary prefix conc...

taocpmathematicsalgorithmsvolume-4math-medium
TAOCP 7.2.2.2 Exercise 309

Solution to TAOCP 7.2.2.2 Exercise 309.

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 308

The proposed solution does not answer the exact question asked.

taocpmathematicsalgorithmsvolume-4math-hard
TAOCP 7.2.2.2 Exercise 307

The proposed solution does not answer Exercise 7.

taocpmathematicsalgorithmsvolume-4hm-hard
TAOCP 7.2.2.2 Exercise 306

The statement of exercise 7.

taocpmathematicsalgorithmsvolume-4hm-hard
TAOCP 7.2.2.2 Exercise 305

The statement of exercise 7.

taocpmathematicsalgorithmsvolume-4math-medium
TAOCP 7.2.2.2 Exercise 304

Exercise 7.

taocpmathematicsalgorithmsvolume-4hm-hard
TAOCP 7.2.2.2 Exercise 303

Exercise 7.

taocpmathematicsalgorithmsvolume-4hm-medium
TAOCP 7.2.2.2 Exercise 302

Exercise 7.

taocpmathematicsalgorithmsvolume-4hard
TAOCP 7.2.2.2 Exercise 301

The proposed solution does **not** answer the question asked.

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 300

The proposed solution does **not** answer the question asked.

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 30

The two constraints x_1+\cdots+x_n\le r and

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 299

For $k=2$, the behavior of the random walk in Algorithm W becomes especially simple.

taocpmathematicsalgorithmsvolume-4hm-medium
TAOCP 7.2.2.2 Exercise 298

Equation (131) defines the quantity used for the flushing decision by replacing the old target value $M_t$ with a value farther in the future.

taocpmathematicsalgorithmsvolume-4hm-medium
TAOCP 7.2.2.2 Exercise 297

Equation (131) defines the quantity used for the flushing decision by replacing the old target value $M_t$ with a value farther in the future.

taocpmathematicsalgorithmsvolume-4hm-hard
TAOCP 7.2.2.2 Exercise 296

Equation (131) defines the quantity used for the flushing decision by replacing the old target value $M_t$ with a value farther in the future.

taocpmathematicsalgorithmsvolume-4hm-medium
TAOCP 7.2.2.2 Exercise 295

Equation (131) defines the quantity used for the flushing decision by replacing the old target value $M_t$ with a value farther in the future.

taocpmathematicsalgorithmsvolume-4math-medium
TAOCP 7.2.2.2 Exercise 294

Equation (131) defines the quantity used for the flushing decision by replacing the old target value $M_t$ with a value farther in the future.

taocpmathematicsalgorithmsvolume-4hm-medium
TAOCP 7.2.2.2 Exercise 293

Equation (131) defines the quantity used for the flushing decision by replacing the old target value $M_t$ with a value farther in the future.

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 292

Let $A$ denote the current value of `AGILITY`.

taocpmathematicsalgorithmsvolume-4math-medium
TAOCP 7.2.2.2 Exercise 291

Algorithm C maintains a trail of assigned literals together with decision levels and reasons for forced assignments.

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 290

Algorithm C is organized around the production of a conflict clause, and its ordinary stopping condition is reached when the current search either succeeds or produces a contradiction that yields the...

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 29

Algorithm C is organized around the production of a conflict clause, and its ordinary stopping condition is reached when the current search either succeeds or produces a contradiction that yields the...

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 289

Algorithm C is organized around the production of a conflict clause, and its ordinary stopping condition is reached when the current search either succeeds or produces a contradiction that yields the...

taocpmathematicsalgorithmsvolume-4math-medium
TAOCP 7.2.2.2 Exercise 288

Algorithm C is organized around the production of a conflict clause, and its ordinary stopping condition is reached when the current search either succeeds or produces a contradiction that yields the...

taocpmathematicsalgorithmsvolume-4hard
TAOCP 7.2.2.2 Exercise 287

Algorithm C is organized around the production of a conflict clause, and its ordinary stopping condition is reached when the current search either succeeds or produces a contradiction that yields the...

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 286

I cannot produce a correct numerical solution for this exercise from the information provided.

taocpmathematicsalgorithmsvolume-4math-medium
TAOCP 7.2.2.2 Exercise 285

The numerical values requested in this exercise cannot be derived from the information supplied here.

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 284

During the verification of condition (119), the verifier performs unit propagation on $F \cup {C_1,\ldots,C_{i-1}}$ after adding the unit literals of $\bar{C}_i$.

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 283

Exercise 7.

taocpmathematicsalgorithmsvolume-4hm-research
TAOCP 7.2.2.2 Exercise 282

Let the clauses (99), (100), and (101) be denoted by \bar{x}_{jj},\qquad 1\le j\le m, \bar{x}_{ij}\vee\bar{x}_{jk}\vee x_{ik},

taocpmathematicsalgorithmsvolume-4math-hard
TAOCP 7.2.2.2 Exercise 281

Let C_j=(\bar{x}_{jj}),\qquad 1\le j\le m, T_{ijk}=(\bar{x}_{ij}\vee\bar{x}_{jk}\vee x_{ik}),

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 280

Let F=\operatorname{cook}(j,k), \qquad n=j+k-1 .

taocpmathematicsalgorithmsvolume-4math-hard
TAOCP 7.2.2.2 Exercise 28

To require x_1+\cdots+x_n\ge 1, we can instead apply Sinz's construction for the equivalent condition

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 279

The statement is true.

taocpmathematicsalgorithmsvolume-4math-medium
TAOCP 7.2.2.2 Exercise 278

Working

taocpmathematicsalgorithmsvolume-4medium
TAOCP 7.2.2.2 Exercise 277

A certificate of unsatisfiability $(C_1,\ldots,C_t)$ is a resolution refutation: each $C_i$ is either a clause of $F$ or a clause obtained from earlier clauses by one resolution step, and the final cl...

taocpmathematicsalgorithmsvolume-4math-medium
TAOCP 7.2.2.2 Exercise 276

The statement is true.

taocpmathematicsalgorithmsvolume-4math-simple