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?
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?
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
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?

Transcribed Image Text:Using Eq. 8.1.2 together with the values of D, and D2, we can evaluate D, for
any value of n:
// in principle
D3
D4
D5
D6
D7
Ds
D9
D10
(3 – 1){D2+D1} = 2{1+0}
(4 – 1){D3 +D2} = 3{2+1}
(5 – 1){D4+D3} = 4{9+2}
(6 – 1){D5 +D4} = 5{44+9}
(7 – 1){D6+D5} = 6{265 +44}
(8 – 1){D7+D6} = 7{1854 +265}
(9 – 1){Ds +D7} = 8{14833 + 1854}
(10 – 1){D9+Ds} = 9{133496 +14833}
2
-
%3!
44
265
1 854
14 833
-
133 496
1 334 961
// It's strange that 1 334 961 = 10× (133 496) + 1. Or is it?
// Is there a (convenient and compact) formula for D, that we can use to calculate
// its values?
|| || |||| | ||||||
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education