recurrence equation

NUR-504 Week 1 Assignment Benchmark – Evidenced-Based Practice (EBP) Summary
January 15, 2021
Nursing Patient Care Plan
January 15, 2021

recurrence equation

Consider ternary strings, that is strings formed from symbols 0, 1, and 2. Let Z_n be the

number of ternary strings of length n that do not contain substrings 22 and 12. For example, for n = 3, all

the strings with this property are:

000;001;002;010;011;020;021;100;101;102;110;111;200;201;202;210;211;

and thus Z_3 = 17. (Note that Z_0 = 1, because the empty string satis es the condition.)

(a) Derive a recurrence relation for the numbers Zn. Justify it.

 

I have alredy devired the recurrence equation, I just need a strong justification!!!!

 

Zn=2*Z_n-1+Z_n-2

 

how to prorely justify my answer?

 
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!

NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.

Buy Custom Nursing Papers