There is a colony of gnats who all wear hats each gnat


Question: There is a colony of gnats who all wear hats. Each gnat wears a green, white, or red hat (they are Italian gnats). Moreover, a single gnat wears a green or red hat, and a partnered gnat wears a white hat-and partnered gnats always hold hands when they fly. Gnats often line up while flying.

(a) How many different hat-color strings are possible for two gnats with hats flying in a line?

(b) How many different hat-color strings are possible for three gnats with hats flying in a line?

(c) Consider the sequence gn of hat-color strings for n gnats with hats flying in a line. Write a recurrence and find a closed form for gn.

Solution Preview :

Prepared by a verified Expert
Mathematics: There is a colony of gnats who all wear hats each gnat
Reference No:- TGS02382436

Now Priced at $10 (50% Discount)

Recommended (94%)

Rated (4.6/5)