38. A Keith number is a number (integer) that appears in a Fibonacci-like sequence that is based...

Question:

38. A Keith number is a number (integer) that appears in a Fibonacci-like sequence that is based on its own decimal digits. For two-decimal digit numbers

(10 through 99) a Fibonacci-like sequence is created in which the first element is the tens digit and the second element is the units digit. The value of each subsequent element is the sum of the previous two elements. If the number is a Keith number, then it appears in the sequence. For example, the first two-decimal digit Keith number is 14, since the corresponding Fibonacci-

like sequence is 1, 4, 5, 9, 14. Write a MATLAB program that determines and displays all the Keith numbers between 10 and 99.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: