Lagrange's Zero-One Blocks (LZOB)
Lagrange's Zero-One Blocks (LZOB) is somewhat a sub-part of Lagrange Interpolation which especially aims at constructing a general formula of a certain sequence on basis of known few terms of that sequence.
Motivation
Constructing a formula for any sequence of numbers. This technique was developed by a great mathematician-astronomer, Joseph Louis Lagrange.
Theorem
No matter how many first consecutive terms of a sequence are given , they do not force on us any specific pattern. It is always possible to use a suitable number of zero-one blocks and construct a formula which will agree with the first given terms and the next term of sequence can be assigned any number of our choice.
As an explicit example , suppose the sequence is , then what is the next term? If you go by seeking pattern you would find that the differences are between the two consecutive terms. So , you would get the next term as . But what if you want next term as ? or ? This is where LZOB proves useful. With the help of LZOB , we can assign any number as the next term in the sequence , in fact we can find a general formula for sequence! So let's find it!
Aim
We have to find general formula for the sequence such that
If you put in the formula , it will give you
If you put in the formula , it will give you
If you put in the formula , it will give you
If you put in the formula , it will give you
If you put in the formula , it will give you
Construction of Zero-One Blocks
First let us define
Note: When we define , we exclude term in the numerator and the terms in the denominator are of the form where .
Now we shall compute for .
Indeed , because if we put either or or or , the numerator is anyway going to be equal to zero. Now what about ?
If you put , we see that the numerator does look the same as the denominator and we have .
So we have .
Do you see now , why is called a 'zero-one' block?
Now we move on to compute second block , that is
Following the same method as done for first block , we have .
Similarly ,
Similarly ,
Similarly ,
Since we want the fifth term , we make 5 blocks.
Now we are ready to construct a formula for . Indeed the formula is :
You may compute to confirm the above claim.
Generalization
Suppose you are given first terms of sequence and we need to find the formula for term in the sequence.
Since terms are given of sequence , we need to make zero-one blocks.
Each block is in the form where .
For every block and all other .
Now we have general formula for nth term in sequence as: