Abstract

We consider the -extension of the -Fibonacci Pascal matrix. First, we study the -th power of the -extension of the -Fibonacci lower and upper triangular Pascal matrix. Then, we obtain a new code which is named the -extension of the -Fibonacci Pascal matrix coding/decoding by using them.

1. Introduction

The Fibonacci sequence is defined by the recurrence relation , with the initial values . Recently, there are many papers devoted to the study of the Fibonacci and generalized Fibonacci sequences; for example, see [1, 2]. Such the generalization, which will be used in this paper, is the -extension of the -Fibonacci sequence.

Definition 1. For constants and , the -extension of the -Fibonacci sequence is given with the following recurrence relation (see [3, 4]):

For example, for and , we have and

In [413], the authors studied the properties of the Pascal matrix. We recall the following definition from [5].

Definition 2. The lower triangular Pascal matrix is defined as and the upper triangular matrix is defined as

The , -extension of the -Fibonacci lower triangular Pascal matrix, denoted by , is defined as follows: and the inverse of the -extension of the -Fibonacci lower triangular Pascal matrix, , is given as See [14] for more details.

For example, we have

Now, we define the -extension of the -Fibonacci upper triangular Pascal matrix, denoted by , as follows:

The inverse of the -extension of the -Fibonacci upper triangular Pascal matrix denoted by is defined as follows:

An application of the Fibonacci matrix and its generalization is in coding theory (see [1522]). In this paper, using the -extension of the -Fibonacci lower and upper triangular Pascal matrix, we present a new code matrix.

The rest of the paper is organized as follows: in Section 2, we obtain the -th power of the -extension of the -Fibonacci lower triangular matrix and upper triangular Pascal matrix. Also, we give the inverse of them . Section 3 is devoted to obtaining a coding and decoding on the -extension of the -Fibonacci Pascal matrix.

2. The -th Power of the -Extension of the -Fibonacci

In this section, we calculate the -th power of the -extension of the -Fibonacci lower triangular Pascal matrix, the -extension of the -Fibonacci upper triangular Pascal matrix, and their inverse matrices. First, we denote the -th power of and by and , respectively.

Theorem 3. For and , we have where , and for . where , , and .

Proof. (i)Since the proof of the result for , 3, and 4 is similar, we prove the result by induction on for . Let . Then, by relation (3), we have Suppose the result holds for . Therefore, we have where (ii)The proof is similar to the proof of the proposition and then is omitted

Example 1. For and , we have

Similar to the proof of Theorem 3, we can prove the following theorems.

Theorem 4. For , and , we have

Theorem 5. For , , and , we have We denote the inverse of and by and , respectively. Now, we have the following theorem.

Theorem 6. For and , where , , and for . where , , and

Proof. (i)It is sufficient to show that the result holds for . For this, we use the induction method on . Let . Then, by relation (4), we have Suppose the statement holds for . Then, we have Since we have result.
The proof (ii) is similar to the proof of the proposition (i). So, we omit it.

Example 2. For and , we have By induction on , we can prove the following theorems and therefore we will omit their proofs.

Theorem 7. For and ,

Theorem 8. For and ,

Lemma 9. For and , we get

Proof. (i)By Theorem 3 for , we have where In a similar way, one can prove the remaining cases.

3. Coding and Decoding on -th Power the -Extension of the -Fibonacci Pascal Matrix

In the present section, first, we introduce a coding and decoding on the -extension of the -Fibonacci Pascal matrix and get its error detection and correction.

For and an initial message , we will name a transformation as the -extension of the -Fibonacci Pascal coding and a transformation as the -extension of the -Fibonacci Pascal decoding. Note that the matrix is as a code matrix and all of the elements of are positive.

Lemma 10. For and ,

Proof. Since , we have

Now, we obtain a relation for elements of the code matrix . We study three cases. The rest cases are similar.

Case 1. Let and . For the matrix , we have On the other hand, we get We obtain So, we have

Case 2. Suppose that and . For , where So, Therefore, we get

Case 3. Let and , we obtain where So, Therefore, we get In a similar way, we obtain the following relations for :

We encounter a question about relations (35)–(54). How large should be to claim that inequalities (35)–(54) can be converted into equalities? We will give an approximate answer to it by two examples.

Example 3. For and an initial message , we have We consider ; then, Here, we have the following: From (35), we have and .
Now, for , we have In this case, Since and , we have the following relations for :

Example 4. For and an initial message as we consider ; then, In this case, we have the following values: From (39)–(42), we have Now, let . Then, we get In this case, we obtain the following values: From (39)–(42), we have Therefore, by considering and the matrix , we can find is an appropriate value.
Now, we calculate the error detection for the -extension of the -Fibonacci Pascal decoding. Error detection and correction of the code message are the most important aim of the coding theory. First, we should determine the error detection in the code message . For this, using the property of the determinant of a matrix, we can check the transmitted message in the communication channel. We have Therefore, it is clear that the determinant of the initial message is connected with the determinant of the code message . So, we obtain the determinant of the matrix . treats as a controller of entries of the code matrix received from the communication channel. After receiving the code matrix and computing the determinant of , we will compute the determinant of . Then, we will compare them together. If , this means that the matrix has passed from the communication channel without error. Otherwise, according to the matrix of the order , we have “single,” “double,” ,-fold” errors. Thus, we get

Now, we will compute the error correction. Suppose and . Hence, there exists only one error in the matrix received from the communication channel. The four variants of the single errors in the code matrix are as follows: where and are the destroyed elements. By algebraic equations and Lemma 10, we obtain

From relations (71)–(74) and (35), we calculate the destroyed element in the code matrix .

In a similar way, we can correct “double” and “triple” errors. For example, we consider the following case of double errors in the matrix , where and are the destroyed elements. We have

Similarly, we compute the destroyed element in the code matrix . So, there are errors for , and we can correct all cases of this method except the fourfold. Thus, the correctable possibility of it is equal to .

Similarly, there are errors for . Since and from (40), we can correct up to eight cases of this method except the ninefold. Therefore, we get that correctable possibility of the method is equal to . And finally, we obtain for .

The -extension of the -Fibonacci Pascal coding method has a high correction ability in comparison to the classical (algebraic) coding method. The reason is the use of matrix theory to get error-correction codes in this coding method, while in algebraic coding method there are very small information elements and bits and their combinations are the objects of detection and correction. For example, we compare the -extension of the -Fibonacci Pascal coding method to the Hamming coding by an example and show the correctable ability of the error is much greater in the -extension of the -Fibonacci Pascal coding method. For and , we consider Hamming code method. We will obtain the correctable ability of the error. There is error messages and the number can just be corrected; then, the correctable ability of the error equals

Besides, the correctable ability of the error in the -extension of the 3-Fibonacci Pascal coding method is . Thus, the correctable ability of the -Fibonacci Pascal is times more than Hamming one.

4. Conclusion

In this paper, we obtained the -th power of the -extension of the -Fibonacci matrix and the inverse of them for . Then, using them, we introduced a new coding/decoding method. The -extension of the -Fibonacci Pascal coding method is the main application of the matrices and . The -extension of the -Fibonacci Pascal matrix coding/decoding was calculated very quickly by computer. Also, the correcting and detection abilities of this coding method were very high in comparison with a classical algebraic coding/decoding method.

Data Availability

There are no applications, analysis, or generation during the study.

Conflicts of Interest

The authors declare that they have no conflicts of interest.