The ideas behind Terras's analysis seem basic to a deeper understanding
of the problem, so I describe them in detail.
In order to do this, I introduce some notation to
describe the results of the process of iterating the function
.
Given an integer n, define a sequence of 0-1 valued
quantities
by