Let am be the number of strings (of all lengths) with digits in {1, 2, 3} (repeats allowed) such 6. that the sum of the digits in the string is equal to n. (a) Find a recurrence relation satisfied by the an (don't forget the base case(s)). (b) Use your answer to part (a) to prove that an < 2".

Linear Algebra: A Modern Introduction
4th Edition
ISBN:9781285463247
Author:David Poole
Publisher:David Poole
Chapter4: Eigenvalues And Eigenvectors
Section4.6: Applications And The Perron-frobenius Theorem
Problem 57EQ
icon
Related questions
Question
Let an be the number of strings (of all lengths) with digits in {1, 2, 3} (repeats allowed) such
that the sum of the digits in the string is equal to n.
(a) Find a recurrence relation satisfied by the an (don't forget the base case(s)).
(b) Use your answer to part (a) to prove that an < 2".
Transcribed Image Text:Let an be the number of strings (of all lengths) with digits in {1, 2, 3} (repeats allowed) such that the sum of the digits in the string is equal to n. (a) Find a recurrence relation satisfied by the an (don't forget the base case(s)). (b) Use your answer to part (a) to prove that an < 2".
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer