Compute the values: D2-2D1, D3-3D2, D4-4D3, D5-5D4, …, D10-10D9, where the D’s are the derangements values described on P.335. What is the pattern?

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Compute the values: D2-2D1, D3-3D2, D4-4D3, D5-5D4, …, D10-10D9, where the D’s are the derangements values described on P.335. What is the pattern?

**Examples Defined by Recurrence Equations**

---

Using Eq. 8.1.2 together with the values of \( D_1 \) and \( D_2 \), we can evaluate \( D_n \) for any value of \( n \):

\[
\begin{align*}
D_3 &= (3 - 1)\{D_2 + D_1\} = 2\{1 + 0\} = 2 \\
D_4 &= (4 - 1)\{D_3 + D_2\} = 3\{2 + 1\} = 9 \\
D_5 &= (5 - 1)\{D_4 + D_3\} = 4\{9 + 2\} = 44 \\
D_6 &= (6 - 1)\{D_5 + D_4\} = 5\{44 + 9\} = 265 \\
D_7 &= (7 - 1)\{D_6 + D_5\} = 6\{265 + 44\} = 1\,854 \\
D_8 &= (8 - 1)\{D_7 + D_6\} = 7\{1\,854 + 265\} = 14\,833 \\
D_9 &= (9 - 1)\{D_8 + D_7\} = 8\{14\,833 + 1\,854\} = 133\,496 \\
D_{10} &= (10 - 1)\{D_9 + D_8\} = 9\{133\,496 + 14\,833\} = 1\,334\,961 \\
\end{align*}
\]

---

// It’s strange that 1,334,961 equals \( 10 \times (133,496) + 1 \). Or is it?

// Is there a (convenient and compact) formula for \( D_n \) that we can use to calculate its values?

The sequence on \( P \) defined by \( S_n = A \times n! \) where \( A \) is any real number satisfies the recurrence equation (8.1.2). If \( n \geq 3 \) then:

\[
\begin{align*}
(n -
Transcribed Image Text:**Examples Defined by Recurrence Equations** --- Using Eq. 8.1.2 together with the values of \( D_1 \) and \( D_2 \), we can evaluate \( D_n \) for any value of \( n \): \[ \begin{align*} D_3 &= (3 - 1)\{D_2 + D_1\} = 2\{1 + 0\} = 2 \\ D_4 &= (4 - 1)\{D_3 + D_2\} = 3\{2 + 1\} = 9 \\ D_5 &= (5 - 1)\{D_4 + D_3\} = 4\{9 + 2\} = 44 \\ D_6 &= (6 - 1)\{D_5 + D_4\} = 5\{44 + 9\} = 265 \\ D_7 &= (7 - 1)\{D_6 + D_5\} = 6\{265 + 44\} = 1\,854 \\ D_8 &= (8 - 1)\{D_7 + D_6\} = 7\{1\,854 + 265\} = 14\,833 \\ D_9 &= (9 - 1)\{D_8 + D_7\} = 8\{14\,833 + 1\,854\} = 133\,496 \\ D_{10} &= (10 - 1)\{D_9 + D_8\} = 9\{133\,496 + 14\,833\} = 1\,334\,961 \\ \end{align*} \] --- // It’s strange that 1,334,961 equals \( 10 \times (133,496) + 1 \). Or is it? // Is there a (convenient and compact) formula for \( D_n \) that we can use to calculate its values? The sequence on \( P \) defined by \( S_n = A \times n! \) where \( A \) is any real number satisfies the recurrence equation (8.1.2). If \( n \geq 3 \) then: \[ \begin{align*} (n -
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY