Contents

-

Ternary Strings with No Consecutive 1s

Ralph P.Grimaldi1
1Rose-Hulman Institute of Technology 5500 Wabash Avenue Terre Haute, Indiana 47803-3999

Abstract

For nN, let an count the number of ternary strings of length n that contain no consecutive 1s. We find that an=(12+33)(1+3)n(1233)(13)n. For a given n0, we then determine the following for these an ternary strings:
(1)the number of 0s, 1s, and 2s;(2)the number of runs;(3) the number of rises, levels, and descents; and
(4)the sum obtained when these strings are considered as base 3 integers.

Following this, we consider the special case for those ternary strings (among the an strings we first considered) that are palindromes, and determine formulas comparable to those in (1) – (4) above for this special case.