#### Abstract

This article intends to review quasirandom sequences, especially the Faure sequence to introduce a new version of scrambled of this sequence based on irrational numbers, as follows to prove the success of this version of the random number sequence generator and use it in future calculations. We introduce this scramble of the Faure sequence and show the performance of this sequence in employed numerical codes to obtain successful test integrals. Here, we define a scrambling matrix so that its elements are irrational numbers. In addition, a new form of radical inverse function has been defined, which by combining it with our new matrix, we will have a sequence that not only has a better close uniform distribution than the previous sequences but also is a more accurate and efficient tool in estimating test integrals.

#### 1. Introduction

It is well known that Monte Carlo calculations are based on the generation of random numbers on interval (0,1). Therefore, the generation of random numbers that have more uniformity on (0,1) guarantees better approximations in these calculations. In recent years, some researchers have employed quasirandom sequences instead of random numbers to aim producing extra uniformity of the randomly generated numbers on (0,1). Due to the breadth and complexity of some problems that are mostly unsolvable by classical mathematical methods or solving them with classical methods is associated with more time and computational cost, the stochastic solving of such cases with numerical methods and using the Monte Carlo method plays a key role. The quasirandom sequences are common in Monte Carlo calculations such as Faure, Halton, Niederreiter, and Sobol sequences, but due to the lack of complete success of these sequences in Monte Carlo computation, we use scrambled versions of them, all of which are designed to increase the uniformity of randomly (quasirandom) generated numbers on (0,1), so that we can estimate the obtained solution to the desired unknown solution of the problem.

To resolve this problem, researchers are competing on the use of scrambled quasirandom generators based on their version of random number generation to provide more accurate results in Monte Carlo calculations.

Today, Monte Carlo and quasi-Monte Carlo methods are widely used to solve the computations of physical and mathematical problems. Quasi-Monte Carlo (QMC) methods play an alternative role for Monte Carlo methods. The advantage of these methods is that they use numbers to provide extera uniformity on unit hypercube. This feature has led to the use of these methods to estimate high-dimensional integrals (Niederreiter, 1992; Spanier and Maize, 1994) [1].

So far, several quasirandom sequences (or low discrepancy sequences) have been introduced for the QMC method. Such as the Faure sequence, the Halton sequence, and the Sobol sequence. Despite the fact that among these three sequences, the Faure sequence has better features in terms of discrepancy bound, but in practice, it is less used. Because, the convergence rate of this class of sequences is not so good compared with the other sequences [2]. In addition, due to the correlation between the different dimensions of the Faure sequence, the distribution of the sequence points is not very favorable, and we see poor two-dimensional projections (Figure 1). To overcome this problem, many scrambling methods have been proposed for the Faure sequence (see [3]). In almost all of these scrambles, there are attempts to define a new matrix by shifting numbers in the generating matrix or the placement of the elements, and there has been less talk about the properties of irrational numbers. The matrix that we introduce in this paper has been selected from several proposed matrices. Because it has good two-dimensional projections and it is also at a very high level in terms of integral estimation.

**(a)**

**(b)**

**(c)**

**(d)**

In the next section, the structure of the original Faure sequence is given. We then briefly list the scramblers that have already been introduced in Section 3. In Section 4, we have brought our proposed matrix. Sections 5 and 6 give the evaluation criteria for the quality of the sequence generated by our proposed matrix and compare it with previous sequences, and in Section 7, the conclusion is stated.

#### 2. The Faure Sequence

Suppose is a prime number, and suppose is the number of points we want to generate, and is a vector of integers whose components are from the expansion of the number on the base , where and . We define the radical inverse function, , as

For the Faure sequence, we define a different generator matrix for each dimension. If be the *Pascal matrix*, then for a -dimensional Faure sequence the generator matrix of the th dimension is , , where the member on the row and the column is defined as follows:

Thus, let be represents the number in the dimension in the Faure sequence, then and so the -dimensional Faure sequence is

#### 3. Scrambling the Faure Sequence

Since the introduction of the Faure sequence, several methods were proposed to scramble it. In this section, we give an overview of some of such scrambles.

##### 3.1. The Generalized Faure Sequence

Tezuka [2] proposed the generalized Faure sequence, GFaure, with the th dimension generator matrix and the for are arbitrary nonsingular lower triangular matrices over . A special case for is that all members are one for all dimensions [4].

##### 3.2. Random Linear (Digit) Scrambling

After reviewing different versions of the Owen’s method, Matoušek introduced a scramble matrix and a transfer vector for various dimensions [5]. The sequences obtained by Matoušek have the following general form:

For the random linear scrambling, the matrices and the vectors for are of the form where the ’s and the with are chosen randomly and independently from , the ’s are chosen randomly and independently from .

Random linear digit method is the basis of other scrambles that will follow. Even the GFaure method is a subset of this method in which the members of the shift vectors are all zero.

##### 3.3. I-Binomial Scrambling

A subset of the family of random linear scrambling methods is called left I-binomial scrambling [6]. Here, the is defined as where is chosen randomly and independently from and also ’s are chosen randomly and independently from .

##### 3.4. Striped Matrix Scrambling

The scrambling matrix for Striped Matrix Scrambling method, has the following form: where the ’s are chosen randomly and independently from . The different types of this scramble are examined in [7], only for problems in the first dimension. Of course, it does not say what changes should be made to the matrix for higher dimensions.

##### 3.5. Chi’s Optimal Scramble

When we use the I-binomial method to scramble the Faure sequence, the value of (number) causes all the expansion digits of each number to be replaced (permuted). Now, if we leave out the first digit, the value of (number) causes all the remaining digits to be replaced (permuted).

So by cleverly selecting these two members, we can achieve better Faure sequences.

In [8], Chi has shown that the best choice for these two values can be obtained based on the primitive roots of the p. Finally, the Chi’s optimal scramble matrix is as follows:

##### 3.6. Inverse Scrambling

Fathi and Eskandari [9] adapted Chi’s optimal matrix and introduced two kind of matrix as follows: where is chosen from for .

Based on nonlinear congruential method, they proposed another scrambling method for the Faure sequence for which the th coordinate of the th point has the general form where and are bijections that map a digit vector to another digit vector.

#### 4. Scrambling Matrix with Irrational Members

In this section, corresponding to the method of random linear digits, we introduce a scrambling matrix that its members are a function of square root of base (that is, they are irrational numbers).

After testing many functions, we found the following function that has the most performance:

In (1), we introduced the common form of radical inverse function for base . Now, we define a new form of this function as follows:

We call this as *reverse radical inverse function*, and we denote the sequences that are made in this way, with the suffix “rev.” Therefore, by combining the matrix and function , the general form of number in dimension will be as follows:

So, for example, we denote the 40-dimensional Faure sequence generated on the base 41 by the scrambled matrix and the function with .41rev.

In the following sections, we have examined (studied) the quality of this sequence along with its performance compared to other sequences.

#### 5. Investigation of the Uniformity of Generated Sequences

##### 5.1. Two-Dimensional Projections

The first step in evaluating the performance of a sequence is to see how the points in the 2D projections are distributed. From Figure 2, in these designs, the Faure sequence points are located within parallel lines, which shows that there is a linear correlation between points in successive dimensions. Also in these designs, we see a lot of empty spaces. Therefore, the distribution of good points has not been done. In Figure 3, we draw the same designs using the by rev.

**(a)**

**(b)**

**(a)**

**(b)**

These figures show that two-dimensional projections of rev sequence are better than two-dimensional projections of the original Faure sequence.

##### 5.2. Discrepancy

One way to measure the quality of a sequence is to calculate its discrepancy [10]. Warnock shows that where is the th component of the point .

Figure 4 compares between the original Faure sequence and the some scrambled Faure sequences that introduced in Section 3. From Figure 4, we see that the discrepancy diagram for our new sequence is at all points below the other sequences. This is a good indication of the high quality of our sequence points.

#### 6. Numerical Integration

Another way to compare the quality of sequences is to use them to solve high-dimensional integration problems with numerical methods. Consider the following test integrals: where the are parameters. There are four choices of parameters as follows: (1) for (2) for (3) for (4) for

Note that the most difficult case is when . Because in this case, the importance of all variables is the same and the superposition dimension is approximately the same as the truncation dimension. It is important to know that the larger , the less important the variables are, and therefore, the effective dimension becomes smaller. The last three choices of the parameters will be considered here [11].

In numerical solution of problems with qMC methods, an accepted procedure is to omit the starting points of the sequence. For example, Fox [12] has suggested that we consider the starting point of the sequence as 1. Although, this may lead to better results, note that with this selection, a large amount of points must be omitted. For example, for , we have to skip the initial 2825760 points with this formula, which is practically impossible. We found in our research that if we select the as the starting point, it will significantly improve the results. We will probably get the best result when we start from the th point.

Therefore, we skip the first 41 points and start in our calculations. For comparison purposes, we present numerical results for original Faure (Faure), our sequence (Aj-41rev), and two types of scrambled Faure sequences, I-binomial (IB) and random linear digits (RLD).

Now, we compare the numerical results of different scrambled Faure sequences presented in this paper. The estimated values for the test functions are given in Figures 5–8. These figures show that our proposed scramble has a very acceptable convergence compared to other scrambles.

**(a)**

**(b)**

**(c)**

**(d)**

**(a)**

**(b)**

**(c)**

**(d)**

**(a)**

**(b)**

**(c)**

**(d)**

**(a)**

**(b)**

**(c)**

**(d)**

An observation is that estimated values by the matrix Aj-41rev very close to the actual value. This can be seen in Tables 1–4. The estimation error obtained with this scramble in dimension , for the function (16) with parameters , , and are at most 11.68%, 0.32%, and 0.64%, respectively. However, there are some exceptions. For example, in the first function, when the number of dimensions increases, the accuracy of the estimation decreases. So that, for the dimension 40, the maximum estimated relative error value is 43.7%.

#### 7. Conclusion

We studied the original Faure sequence and some of its recent years introduced scrambles. Then, we introduced a new scrambling matrix based on irrational numbers that its elements are function of square root of base . In Figures 5–8, we have shown that this modified scrambled Faure sequence provides better results than the previous versions of its scrambles. Also, we presented that this modified scrambled Faure sequence has greatly improved the distribution of points. The 2D designs confirm this claim, good two-dimensional projections in successive dimensions. As mentioned in the previous section, using this scramble leads to very small estimated relative errors that can often be ignored. In our next research, we will use deterministic scrambling matrices based on another irrational numbers and primitive roots. The results proved the improvements of accuracy using our new scramble.

#### Data Availability

The data is contained in the article itself.

#### Conflicts of Interest

The authors declares that there is no conflict of interest regarding the publication of this paper.