Definition · Reasoning and problems
Initial state and instructions
Definition from the chapter Logical reasoning and problems of TOLC-S (Science), with the exercises in which it is used.
Initial state and instructions
A procedure is a list of instructions carried out in order starting from a given value, called the initial state. In the procedure “start from , double, then subtract ” the initial state is , the first operation gives and the second gives . “The value after two operations” is , whereas “the second value, counting the initial one” is .
A sequence is an ordered list of numbers, called terms. The term in position is denoted by , which is read “a sub ”. A sequence is periodic when a block of terms repeats unchanged. The remainder of the division of by gives the place of within the block, and a remainder of corresponds to the last place. In the sequence the block has terms. Since , the remainder is and is the second term of the block, that is, .
A sequence is defined by recurrence when each term is calculated from the previous ones. The rule says that each term is the sum of the two before it. Applying it requires the first two terms, called initial conditions. With and this gives , then and .
Read it in the chapter Logical reasoning and problems →
Exercises where this definition is used
Practice exercises
The same result in other chapters: TOLC-I
All the definitions and theorems of TOLC-S (Science) → · All the theorems on the site →