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
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?

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?
|| || |||| | ||||||
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
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Binary numbers
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
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)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education