2. Let an be the number of ways to write the numbers 1, 2, 3, . ...,n in order such that no number i appears immediately before i + 1 (this is a question which appeared on the exam, where an explicit formula was requested!). Explain why an will satisfy the recurrence an = (n − 1)an-1+ (n − 2)an-2 for every n ≥ 2.

Algebra & Trigonometry with Analytic Geometry
13th Edition
ISBN:9781133382119
Author:Swokowski
Publisher:Swokowski
Chapter10: Sequences, Series, And Probability
Section10.6: Permutations
Problem 13E
icon
Related questions
Question
2. Let an be the number of ways to write the numbers 1, 2, 3, ..., n in order such that no number
i appears immediately before i + 1 (this is a question which appeared on the exam, where an
explicit formula was requested!). Explain why an will satisfy the recurrence an = (n-1) an-1+
(n − 2)an-2 for every n ≥ 2.
Transcribed Image Text:2. Let an be the number of ways to write the numbers 1, 2, 3, ..., n in order such that no number i appears immediately before i + 1 (this is a question which appeared on the exam, where an explicit formula was requested!). Explain why an will satisfy the recurrence an = (n-1) an-1+ (n − 2)an-2 for every n ≥ 2.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Recommended textbooks for you
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
Algebra: Structure And Method, Book 1
Algebra: Structure And Method, Book 1
Algebra
ISBN:
9780395977224
Author:
Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Publisher:
McDougal Littell
College Algebra (MindTap Course List)
College Algebra (MindTap Course List)
Algebra
ISBN:
9781305652231
Author:
R. David Gustafson, Jeff Hughes
Publisher:
Cengage Learning
College Algebra
College Algebra
Algebra
ISBN:
9781337282291
Author:
Ron Larson
Publisher:
Cengage Learning
Elements Of Modern Algebra
Elements Of Modern Algebra
Algebra
ISBN:
9781285463230
Author:
Gilbert, Linda, Jimmie
Publisher:
Cengage Learning,
Holt Mcdougal Larson Pre-algebra: Student Edition…
Holt Mcdougal Larson Pre-algebra: Student Edition…
Algebra
ISBN:
9780547587776
Author:
HOLT MCDOUGAL
Publisher:
HOLT MCDOUGAL