Pseudo random number evaluation system, method, and program, and pseudo random number generation apparatus, method, and program

The system evaluates pseudo-random number sequences using isosceles triangular distribution tests and statistical methods to ensure uniformity and independence, addressing the lack of quantitative evaluation in existing methods and producing high-quality pseudo-random numbers.

JP2024116607AActive Publication Date: 2024-08-28有田 清三郎 +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023022305
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-16
Publication Date
2024-08-28
Estimated Expiration
2043-02-16

AI Technical Summary

Technical Problem

Existing pseudo-random number generation methods lack sufficient quantitative evaluation of independence and uniform distribution, particularly in the context of logistic chaos equations, which are crucial for ensuring the quality of generated pseudo-random numbers.

Method used

A system and method for evaluating the independence and uniform distribution of pseudo-random numbers using isosceles triangular distribution tests on differences between numbers in a sequence, combined with chi-square and t-tests to ensure statistical validity.

Benefits of technology

Enables quantitative assessment of pseudo-random number sequences, ensuring they meet uniform distribution and independence criteria, thereby producing numbers suitable for practical applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024116607000001_ABST
    Figure 2024116607000001_ABST
Patent Text Reader

Abstract

To evaluate the uniform distribution and independence of pseudo random numbers.SOLUTION: A uniform distribution test is performed to determine whether or not a given sequence of pseudo random numbers is within a statistically allowable range of a uniform distribution, and a distribution shape test is performed to determine whether or not a distribution of differences between two numerical values in the sequence of pseudo random numbers is within a statistically allowable range of an isosceles triangular distribution. On the assumption that the distribution is determined to be uniform, it is determined that the given pseudorandom number has independence, if it passes the distribution shape test. If necessary, a symmetry test is performed to determine whether or not the distribution of the differences is within a statistically allowable range of symmetry, and an average value test is performed to determine whether or not the average value of the differences is within a statistically allowable range centered on zero.SELECTED DRAWING: Figure 9
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This invention relates to a system, method, and program for evaluating the independence and uniform distribution of pseudorandom numbers. This invention also relates to a pseudorandom number creation device (generation device), method, and program that utilizes the above pseudorandom number evaluation system, method, and program.

[0002] Many researchers have studied pseudorandom number generation devices and methods, and various methods have been developed. Recently, pseudorandom number generation programs available over the Internet have also become available.

[0003] For example, a pseudorandom number generating device and method are known that utilize a logistic chaos sequence (also simply called a "chaos sequence") created based on the recurrence formula of the logistic map (hereinafter referred to as the "logistic chaos equation"). The logistic map changes in various ways by changing the initial parameters given to the discrete logistic chaos equation, and exhibits complex behavior called chaos. For this reason, the logistic chaos sequence is used to generate pseudorandom numbers, and there are many publications on it. For example, Patent Document 1 compiles numerous proposals for pseudorandom number generation based on the chaos map.

[0004] In addition, one of the inventors proposed an improved pseudorandom number generating device, method and program that utilizes chaotic sequences (Patent Document 2). Non-patent documents 1 and 2 provide basic knowledge of statistics. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2018-97438 A [Patent Document 2] No. 6782347 Patent Publication [Non-patent literature]

[0006] [Non-Patent Document 1] "Dictionary of Statistical Terms" edited by Yujun Shiba, Hiroshi Watanabe, and Tomokazu Ishizuka, 156 pages, May 15, 1984, Shinyosha Co., Ltd. [Non-Patent Document 2] "Mathematical Statistics" co-authored by Takayoshi Kawata and Fumiyuki Maruyama, pp. 48-55, February 20, 1960, Shokabo LLC.

[0007] Originally, a random number sequence was typically a time series of the numbers that appear when rolling a dice. A random number sequence based on the numbers on a dice has the following two properties: 1. Independence (the next event (the number of dice) occurs independently of the previous event (the number of dice). In other words, no matter which part of the sequence is cut out, there is no relationship with other parts. This is also called unpredictability.) 2. The numbers in a random number sequence (the numbers on the dice) appear with equal probability (uniform distribution or uniform distribution property)

[0008] However, the properties of the generated pseudorandom numbers (independence and uniform distribution), especially the visual or quantitative evaluation of the independence, have not been sufficiently studied. Summary of the Invention

[0009] The present invention provides a system, method and program that can at least quantitatively evaluate the properties of a given pseudorandom number.

[0010] The present invention also provides a system, method and program capable of at least quantitatively evaluating at least the independence of given pseudorandom numbers.

[0011] Furthermore, the present invention provides an apparatus, method and program for creating (generating) pseudorandom numbers that pass tests of uniform distribution and independence.

[0012] The present invention also provides an apparatus, method, and program for creating (generating) pseudorandom numbers derived from a logistic chaos equation that have passed evaluation by the above-mentioned evaluation system, method, and program.

[0013] The pseudorandom number evaluation system according to the present invention comprises uniform distribution checking means for checking whether a given sequence of pseudorandom numbers is uniformly distributed, and independence checking means for checking whether the sequences are independent.

[0014] The uniform distribution checking means checks whether the frequency of each interval obtained by dividing the range of the numerical value of the given pseudorandom number into equal intervals is within a statistically acceptable range of uniform distribution.

[0015] The independence testing means includes an isosceles triangle testing means for testing whether or not the frequency distribution of each interval obtained by dividing the above differences into equal intervals on one axis of a Cartesian coordinate system, in either a population of differences obtained by taking the difference between any two numbers for all combinations in the above given pseudorandom numbers or a large sample of differences extracted from this population, is within a statistically acceptable range of an isosceles triangle distribution. The inventor has found that in a random number sequence having uniform distribution and independence, the distribution of the difference between any two numbers (numerical values) in the random number sequence is theoretically an isosceles triangle distribution. That is, for a given pseudorandom number sequence x1, x2, x3, ..., x i(j) ,…,x N When are uniformly distributed and independent, the difference between them Δx p =x j -x i The distribution of (i ≠ j) (i = 1 to N, j = 1 to N) is an isosceles triangle distribution. Therefore, by testing whether the differences in a population of differences obtained by taking all combinations of any numerical difference in a given pseudorandom number are distributed in an isosceles triangle, it is possible to determine whether the given pseudorandom numbers are independent, assuming that the pseudorandom numbers are uniformly distributed. Independence can also be tested in a similar manner for a large sample of differences obtained by extracting (sampling) numerical values ​​from the population of differences.

[0016] A large sample of differences refers to a sample whose size is sufficiently large and whose properties (statistic, statistical distribution) can be treated (considered) as statistically equivalent to those of the population of differences (almost surely having approximately the same properties and values) (see Non-Patent Documents 1 and 2). There are various methods for sampling to form a large sample. For example, a method of taking differences in the order of items that appear in the generation of pseudo-random numbers (adding a restriction of i > j), conversely, taking differences from the later-appearing ones to the earlier-appearing ones among the generated pseudo-random numbers (adding a restriction of i < j), a method of taking differences between two adjacent items in a row of pseudo-random numbers (adding a restriction of j = i + 1 or j = i - 1), and furthermore, there are various methods such as adding restrictions of j = i + 2, j = i - 2, etc. In pseudo-random numbers, the number of differences in the population is extremely large, and it is very laborious to investigate all of the population of differences. Therefore, it is convenient to examine the properties (statistic, statistical distribution) of the population of differences from a sample (large sample) extracted from the population of differences. By performing an independence test on a large sample of differences, the processing time can be shortened, and a conclusion statistically equivalent to the independence test performed on the population of differences can be obtained.

[0017] In the test for uniform distribution, sampling may also be performed without treating all the numerical values constituting a given pseudo-random number as the objects of processing, to form a large sample and perform a test for uniform distribution on this large sample.

[0018] Thus, according to this invention, the properties (particularly, uniform distribution property, independence) of a given pseudo-random number can be evaluated. Moreover, these uniform distribution property and independence are quantitatively evaluated. Therefore, it is possible to specifically know to what extent the uniform distribution property and independence are possessed.

[0019] If necessary, the independence test means may include a symmetry test means for testing whether the distribution of the frequency of the above differences is within a statistically acceptable range of symmetry around zero, and a mean value test means for testing whether the mean value of the above numerical differences is within a statistically acceptable range around zero. These symmetry and mean value tests can provide information on the distribution of a given pseudorandom number from other perspectives or in detail.

[0020] The present invention also provides a pseudorandom number evaluation method and program.

[0021] The pseudorandom number creation device of the present invention comprises a pseudorandom number generation means for generating pseudorandom numbers, and the above-mentioned pseudorandom number evaluation system, and provides the pseudorandom numbers generated by the pseudorandom number generation means to the pseudorandom number evaluation system, and outputs the pseudorandom numbers evaluated by the pseudorandom number evaluation system.

[0022] In particular, by outputting pseudorandom numbers that have been determined to pass the uniform distribution and independence tests by the pseudorandom number evaluation system, it is possible to obtain pseudorandom numbers that are suitable for many practical uses or that can be suitably used in practical applications.

[0023] The present invention also provides a method and program for generating pseudorandom numbers.

[0024] This invention can also generate pseudorandom numbers derived from a logistic chaos equation. The pseudorandom number generating device according to this invention includes chaotic sequence generating means for generating a chaotic sequence by applying given parameters to a logistic chaos equation, sample sequence generating means for generating a sample sequence by sampling at given intervals from the chaotic sequence generated by the chaotic sequence generating means, uniformizing means for uniformizing the distribution of the sample sequence generated by the sample sequence generating means, and the pseudorandom number evaluation system, and provides the pseudorandom number sequence output from the uniformizing means to the pseudorandom number evaluation system.

[0025] This invention also makes it possible to obtain pseudorandom numbers derived from the logistic chaos equation that pass the evaluation of uniform distribution and independence. It also makes it possible to know how many samples should be skipped when creating a sample sequence. [Brief description of the drawings]

[0026] [Figure 1] A histogram that shows the number (frequency) of each term in a given pseudorandom number sequence that falls into each interval created by dividing the range from 0 to 1 into equal intervals. [Figure 2a] This shows the frequency distribution of xi when a given sequence of pseudorandom numbers is uniformly distributed and any two elements (terms) xi and xj are independent. [Figure 2b] This shows the frequency distribution of xj when a given sequence of pseudorandom numbers is uniformly distributed and any two elements (terms) xi and xj are independent. [Figure 2c] The appearance probability of xi and xj in Figures 2a and 2b is shown on mutually orthogonal axes Xi and Xj of xi and xj. [Figure 3a] Figure 2c shows the result of changing the value of a = xj-xi between 0.0 and 0.1 on the Cartesian coordinate system. [Figure 3b] Figure 2c shows the result of changing the value of a = xj-xi between 0.5 and 0.6 on the Cartesian coordinate system. [Figure 3c] Figure 2c shows the result of changing the value of a = xj-xi between 0.9 and 1.0 on the Cartesian coordinate system. [Figure 4] It is shown that when a=xj-xi(Δxp) is taken on the horizontal axis and frequency is taken on the vertical axis, an isosceles triangle distribution is obtained. [Diagram 5] This is a table showing the difference between the numbers on the dice (1 to 6) Δxp = xj-xi, where xi is any number on the dice and xj is any other number. [Figure 6] The difference Δxp, its occurrence number, and occurrence probability are summarized in a table. [Figure 7] A histogram is shown for the difference Δxp, with the frequency on the vertical axis and the value of the difference on the horizontal axis. [Figure 8] 1 is a block diagram showing an outline of the hardware configuration of a pseudorandom number evaluation device (system) and pseudorandom number creation (generation) device (system). [Figure 9] 13 is a flowchart showing a pseudo-random number evaluation process. [Figure 10] 13 is a flowchart showing a process of verifying a uniform distribution. [Figure 11] 13 is a flowchart showing a process for verifying the distribution of isosceles triangles. [Figure 12] 13 is a flowchart showing a process for verifying that the average value of differences is 0. [Figure 13] 13 is a flowchart showing a process for verifying left-right symmetry. [Figure 14] 13 is a flowchart showing a pseudo-random number generating process. [Figure 15] 11 is a flowchart showing a pseudorandom number generation process using a logistic chaos equation. [Figure 16] This shows how to form a sample sequence with every two samples from the generated chaotic sequence. [Figure 17] 1 shows the pseudorandom numbers generated in Example 1 over time. [Figure 18] 13 is a graph showing a verification result of the uniform distribution in Example 1. [Figure 19] 13 is a graph showing a verification result of an isosceles triangular distribution in Example 1. [Figure 20] 1 shows the time series of pseudorandom numbers generated in Example 2. [Figure 21] 13 is a graph showing a verification result of the uniform distribution in Example 2. [Figure 22] 13 is a graph showing a verification result of an isosceles triangular distribution in Example 2. [Diagram 23] 1 shows the time series of pseudorandom numbers generated in Example 3. [Figure 24] 13 is a graph showing a verification result of the uniform distribution in Example 3. [Diagram 25] 13 is a graph showing a verification result of an isosceles triangular distribution in Example 3. EXAMPLES

[0027] 1.(A) Verifying uniform distribution using histograms Given a sequence of pseudorandom numbers, x1,x2,x3,…x i-1 ,x i ,x i+1 ,…x N-2, x N-1, x N Formula (1) Here, x i are the elements (terms) that make up the sequence, and 0 <x i <1, and depending on the number of terms in the sequence (total number N), it is a number with about 3 to 5 decimal places. In practice, the number of terms N will be around 1000 to 1 million. i is a positive integer that increases sequentially.

[0028] The range from 0 to 1 is divided into M equally spaced intervals (sections), and the number of times (frequency) the numerical values ​​of each term that makes up a given pseudo-random number sequence belong to each interval is counted to create a histogram.

[0029] Figure 1 shows an example of a histogram. The horizontal axis is the term x i The vertical axis is the number of terms in each interval (frequency). For ease of drawing, the number of intervals, M, is 20, and the number of terms in the sequence, N, is 27,000. The theoretical value of the frequency of the uniform distribution is as follows:

[0030] Theoretical value = number of terms N / number of intervals M Equation (2)

[0031] A chi-square test is used to determine whether a given pseudorandom number sequence is within the statistically acceptable range of uniform distribution (uniform distribution verification). 2 ) is given by the following formula:

[0032]

number

[0033] Calculate the formula (3) and calculate the result χ 2 The values ​​are discriminated using an appropriate rejection limit (criterion value) to determine whether there is a significant difference. For example, the rejection limit is χ 2 We use a chi-square value of 28.869 with degrees of freedom of 19-1=18. 2 If the value is less than the critical value, the given random number sequence is determined to be uniformly distributed, and if it is greater than or equal to the critical value, it is determined to be not uniformly distributed.

[0034] 2. Verification of independence (1) Independence indicators If the sequence of pseudorandom numbers given by formula (1) is uniformly distributed and if any two elements (terms) x i and x j are independent, (B1) the difference Δx p =x j -x i (i≠j, i=1~N, j=1~N) is the difference Δx p On one axis, the difference Δx p On a two-dimensional orthogonal coordinate system with the frequency of the other axis, the distribution is an isosceles triangle. And (B2) the isosceles triangle distribution is Δx p = 0, and (B3) the difference Δx p The average value of is zero (0). Although (B1), (B2), and (B3) are indices of independence that assume a uniform distribution, the index (B1) is the most important, and independence can be determined by index (B1) alone.

[0035] The independence of pseudorandom numbers is verified by whether the distribution of the differences shows an isosceles triangular distribution. Therefore, (B1) is the most important indicator that can verify the independence both visually and quantitatively. (B2) verifies the symmetry of the isosceles triangular distribution. (B3) verifies the center of the isosceles triangular distribution.

[0036] Figure 2a and Figure 2b show x i ,x j The frequency distribution of (x i The axis of is X i ,x jThe axis of is X j ) Since it is a uniform distribution, the frequency is x i ,x j are constant regardless of the values ​​of (denoted as c1 and c2, respectively).

[0037] Figure 2c shows X i ,X j The axes are perpendicular to each other on a plane. i -X j The direction perpendicular to the plane represents the frequency (density). This frequency is X i x on axis i appears and X j On the x axis j represents the probability of occurrence.

[0038] x i C j Take the value of x j C j The probability Pr when P r (x i =c i And x j =c j ) Formula (4) This probability is expressed as x i and x j If are independent events, they can be expressed by multiplication. P r (x i =c i And x j =c j )=P r (x i =c i )×P r (x j =c j ) Formula (5)

[0039] x i Since is a uniform distribution (Figure 2a), P r (x i =c i ) is a constant value.

[0040] Similarly, x j Since Pr(xj =c j ) is a constant value.

[0041] Therefore, P in Eq. (5) r (x i =c i And x j =c j ) is always a constant value.

[0042] In Figure 2c, X i -X j The value of the axis perpendicular to the plane is a constant value. In other words, X i -X j On a plane, this results in a uniform density (frequency) distribution.

[0043] where x i and x j Difference with Δx p Let be a.

[0044] Δx p =x j -x i ≡a Formula (6)

[0045] Equation (6) is expressed as x j We derive the following: x j =x i +a formula (7) This is x i is a linear expression for X i -X j On a plane, it is represented by a straight line sloping upwards to the right with intercept at a.

[0046] As shown in Figure 3a, when the value of a is changed between 0 and 0.1, a gray band-like area is created. Similarly, Figure 3b shows the result when a is changed between 0.5 and 0.6, and Figure 3c shows the result when a is changed between 0.9 and 1.0. In Figures 3a to 3c, the diagonal gray band-like area that appears when a is changed by 0.1 can be said to represent the frequency (density) of a.

[0047] The diagonal gray bands above are the difference (Δx p If we take x = a) on the horizontal axis and the vertical axis as the degree, we obtain an isosceles triangle distribution as shown in Figure 4. i and x j Show that (x i ,x j (assuming that the distribution is uniform). Independent events are thus an isosceles triangle with the vertical axis passing through 0 on the horizontal axis as the center, and the left and right sides of the vertical axis passing through 0 on the horizontal axis (Δx p The value of the vertical axis at the vertex of the isosceles triangle is Δx p =0. The frequency is Δx p = 1 or -1, which is 0. Also, since it is symmetric, Δx p The average value of is 0.

[0048] The independence index assuming uniform distribution will be explained from another perspective below.

[0049] A sequence of random numbers, which is the time series of the numbers that appear when rolling a dice, is theoretically independent and uniformly distributed.

[0050] The dice can have a value between 1 and 6. x i and x j If takes any of the values ​​1 to 6, the difference Δx p =x j -x i The values ​​are as shown in Figure 5.

[0051] Difference Δx p The maximum value is 5 and the minimum is -5. Also, the difference Δx p = 0 is the most common. Difference Δx p For values ​​where is 0 or positive, the number of such values ​​and their occurrence probability are summarized as shown in Figure 6.

[0052] Difference Δx p For values ​​where is 0 or negative, if we summarize their numbers and occurrence probabilities, we obtain a table similar to that shown in Figure 6.

[0053] Difference Δx p If we create a histogram of the values ​​of (a) and (b) by taking the frequency (number) of the values ​​on the vertical axis and the difference value on the horizontal axis, we get Figure 7.

[0054] As shown in Figure 7, the above histogram forms an isosceles triangle on a two-dimensional orthogonal coordinate system, and the difference Δx p The mean of is 0 and the distribution of isosceles triangle is Δx p It can be seen that the equation is symmetrical about =0.

[0055] (2) (B1) Verification of isosceles triangular distribution In a given sequence (equation (1)), for all combinations of the values ​​of all terms, their difference Δx p =x j -x i (i ≠ j, i = 1 to N, j = 1 to N) are calculated. The calculated difference values ​​are arranged in order of magnitude (for example, on a line extending from left to right, the negative value with the largest absolute value (minimum value) is arranged at the leftmost side, followed by values ​​with successively smaller absolute values, then 0 or near 0, then positive values, and then arranged in order of increasing positive values ​​to the right, with the largest positive value (maximum value) at the rightmost side), and the range from the minimum value to the maximum value is divided into K intervals (sections) at equal intervals (the numbers (scales) on the line are evenly spaced) (K is preferably an odd number. By taking symmetrical intervals with the difference = 0 in the center, it is possible to visually see on the histogram whether the shape is an isosceles triangle or not). For each of the K intervals, the difference Δx belonging to each interval is calculated. p Count the number (frequency) of (numerical values). The central interval is called interval 0, and the intervals in the positive direction are named 1, 2, 3, ..., etc., and the intervals in the negative direction are named -1, -2, -3, ..., etc.

[0056] A histogram is created by plotting the above line (corresponding to the numerical value of the difference Δp) on the horizontal axis and the number (frequency) of each interval on the vertical axis. This histogram is displayed on the screen of a computer display device. By looking at (visually checking) the displayed histogram, one can visually judge or confirm whether it is in the shape of an isosceles triangle and whether the displayed histogram is close to the ideal shape of an isosceles triangle (two sides equal and angles equal).

[0057] Next, a statistical test is used to quantitatively calculate how close the histogram is to an isosceles triangle. 2 (Chi-square) test is used.

[0058] The height of an ideal isosceles triangle is the center of the interval (Δx p =0). Since pseudorandom numbers are greater than 0 and less than 1, the difference between the two numbers is greater than -1 and less than +1. Therefore, the length of the base of an ideal isosceles triangle is set to 2.

[0059] For dice numbers, the length of the base is the maximum difference between the numbers, i.e. 10, ranging from -5 to +5. For single-digit uniform random numbers (0 to 9), the difference ranges from -9 to +9, and the length of the base is 18. For a histogram, the height of an isosceles triangle is the frequency of section 0, or the relative frequency (the frequency of section 0 divided by the total number of numbers).

[0060]

number

[0061] Theoretical value for each interval = total number of data × probability in that interval (proportion of the number of data) Equation (9)

[0062] We will explain a concrete example of an ideal shape of an isosceles triangle (applied to a given sequence). Divide the range of the sequence into 19 sections, calculate the frequency of each section, and create a histogram. 1) Given a sequence of N numbers, x1…xN, construct a possible difference, Δxp=xj-xi, where j≠i. 2) The number of differences is N × (N-1) (i.e., N 2 -N). 3) Create 19 equally spaced intervals centered around difference = 0. The interval breakpoints are shown in Table 1. [Table 1] As mentioned above, the 19 intervals in the positive difference range are named interval 0 (difference = 0), interval 1, interval 2, ... interval 9. The areas in the negative difference range are named interval -1, interval -2, ... interval -9. 4) The distribution of the difference between a sequence of numbers is an isosceles triangle. The percentage of numbers or values ​​included in each interval of the histogram representing the distribution of the difference is as follows (Table 2). [Table 2]

[0063] Calculate the formula (8) and calculate the result χ 2 The values ​​are discriminated using an appropriate rejection limit (criterion value) to determine whether there is a significant difference. Since the tail of an isosceles triangle distribution has a probability of having a small theoretical value, for example, if there are 19 intervals, the two end subintervals, interval -9 to interval -7, can be treated together as one interval, and interval 7 to interval 9 can be treated together as one interval. The rejection limit is set to chi with a significance level of 0.001 and degrees of freedom = 14. 2 Use value = 36.123. 2 If the value is less than the critical value, the given pseudorandom number sequence is determined to be an isosceles triangle, and if the value is equal to or greater than the critical value, it is determined to not be an isosceles triangle.

[0064] (3) (B2) Verification of the mean difference = 0 In order to statistically test whether the mean value of the difference can be significantly considered to be 0 (zero), we use the t-test here.

[0065] The difference Δx in a given pseudorandom sequence (equation (1)) p (=x j -x i )(i≠j,i=1~N,j=1~N) is (N 2 -N). First, these Δx p Average value of A v Δx p (A v The mean value is calculated, and the sample standard deviation SD is calculated. Then, the t-value is calculated using the following formula:

[0066] t-value = [A v Δx p -0(zero)] / [SD / ND 1 / 2 ] …Formula (10) The number of differences is ND.

[0067] When the absolute value of the t-value is less than 1.96, the difference Δx is significant at the 0.05 level. p This means that the average value of is 0 (zero).

[0068] (4) (B3) Verification of left-right symmetry Δx p Here, we calculate the skewness to verify whether the distribution is symmetric.

[0069] Skewness is used as an index of symmetry, distortion, etc. of data distribution, and when the data distribution is symmetrical around the mean, skewness = 0. When the tail of the distribution extends more to the right than the left, skewness is positive, and when the tail extends more to the left than the right, skewness is negative.

[0070] The difference value Δx above p As an example, the skewness of is expressed by the following equation:

[0071]

number

[0072] Here, A v Δx p is Δx pAverage value of, S is Δx p is the standard deviation of the distribution of

[0073] To summarize the above, the following tests are performed:

[0074] (A) The pseudorandom number sequence is determined to be uniformly distributed. (B1) The difference between any two terms of a pseudorandom sequence, Δx p is judged to have an isosceles triangular distribution As an example, 2 In the test, 2 The value of is determined to be less than a predetermined rejection limit. (B2) Difference Δx p In a test for the mean value of 0 (for example, a t-test), the difference Δx p The average value of (B3) In the test for symmetry, the difference Δx p is judged to be symmetrical around the mean value

[0075] The order of these judgments or tests (A), (B1) to (B3) is arbitrary. For example, the judgment of uniform distribution (A) may be performed last. If it is judged that the distribution is not uniform, the judgment processes (B1) to (B3) performed before that will simply be wasted. To judge the uniform distribution and independence, at a minimum, the above (A) and (B1) are required.

[0076] In the above example, in a given pseudorandom number sequence (equation (1)), any two numbers x j ,x i Difference x p =x j -x iIt is taken for all combinations (i≠j, i = 1 to N, j = 1 to N). The set of differences thus obtained is called the population of differences. Then, a determination is made as to whether the pseudo-random numbers for the population are uniformly distributed or can be said to be independent. A population (referred to as a large sample of differences) obtained by sampling (extracting) a large number of numerical values from the population of differences (where the sample size is sufficiently large) (a part of the population) has a distribution that can be said to be statistically equivalent to the distribution of the original population of differences. Therefore, even if the same statistical processing as described above is performed on the large sample of differences as on the population of differences, statistically equivalent determination results can be obtained regarding the uniform distribution and independence of the given pseudo-random numbers.

[0077] There are various sampling methods for creating a large sample. Some examples are as follows.

[0078] First, for the difference x p =x j -x i a large sample is the set of differences obtained by adding the restriction i > j to i and j. Let the number of numerical values in the given pseudo-random numbers be N. Then, the number of differences in the population is (N 2 -N) as described above. In contrast, the number of differences in the large sample of differences obtained by adding the above restriction is (N 2 -N) / 2, so the number of the large sample is a sufficiently large number. Conversely, the restriction i < j may be added.

[0079] Second, it is to take the difference between two adjacent items in the sequence of pseudo-random numbers. That is, for the difference xp = xj - xi, the restriction j = i + 1 or j = i - 1 is added. At this time, the number of numerical values included in the large sample of differences obtained is (N - 1). If N = 100,000 (one hundred thousand), then (N - 1) is a sufficiently large number.

[0080] Similarly, large samples of differences can be obtained by adding restrictions such as j = i + 2, j = i - 2, j = i + 3, j = i - 3, etc.

[0081] 3. System Configuration FIG. 8 shows an outline of the hardware configuration of a pseudorandom number evaluation device (system) and pseudorandom number creation (generation) device (system) (hereinafter simply referred to as "device 10").

[0082] The device 10 is typically realized by a computer system. The computer system includes not only systems realized by so-called personal computers (PCs) and mobile terminal devices, but also systems realized by network computing, cloud computing, and the like.

[0083] The device 10 basically includes a calculation unit (or a control calculation unit, a control unit) 11, an input unit 12, an output unit 13, a storage unit 14, and a display unit 15. The calculation unit 11 is the main body of a computer, and executes a process of evaluating (uniformity and independence) a given pseudo-random number according to the flowcharts in Figs. 9 to 13, which will be described later, and a process of generating a pseudo-random number sequence according to the flowcharts in Figs. 14 and 15.

[0084] The input unit 12 includes an input device represented by a keyboard, a mouse for instructing or selecting the display contents on the display screen of the display unit 15 and other devices for performing input operations in cooperation with the display unit, a touch panel arranged on the display screen of the display unit, a voice input unit including a microphone and a voice recognition unit, a communication unit connected to a network or the like and receiving transmitted signals, a data reading device for reading data from recording media such as CDs and USB memories, and other means for inputting data and information to the calculation unit 11. The output unit 13 includes, in addition to a display unit, a printer, and the like, a voice output unit, a communication unit for transmitting data and the like to the outside via a network or the like (including cases where it is used in combination with the communication unit of the input unit), a data writing device for writing data to a recording medium, and other means for outputting data and information from the calculation unit 11 to the outside.

[0085] The storage unit 14 stores data representing a given pseudorandom number to be evaluated, input data such as other input initial information, various calculation processing result data, and other data, and may be an internal memory in the calculation unit 11 or an external memory (including the memory of a server in a cloud computing system). The storage unit 14 also stores programs for causing a computer to execute a pseudorandom number evaluation process and a pseudorandom number generation process.

[0086] The display unit 15 can of course also be used as a display device for the input unit 12 or the output unit 13, but it should be understood that it is specifically illustrated here.

[0087] 4. Evaluation of pseudorandom numbers FIG. 9 is a flowchart showing the entire pseudorandom number evaluation process executed by the device 10 (particularly the calculation unit 11).

[0088] The device 10 takes in the data of the pseudorandom number sequence to be evaluated (Equation (1)) (S10). The input of this given pseudorandom number data may be transmitted via a network, may be read from a recording medium, or may be input in some other way (input unit 12). The taken-in pseudorandom number data is stored in the memory unit 14.

[0089] First, a uniform distribution verification process is performed (S11, S12). If it passes, the process proceeds to the independence verification. If it fails, a message to that effect is stored in the memory unit 14 and output from the output unit 13 (for example, a message to that effect is sent or displayed) (S20). In the independence verification process, first, the difference (Δx p )=x j -x i (i ≠ j, i = 1 to n, j = 1 to n) are calculated for all combinations and stored in memory unit 14 (S13). Here, a population of differences is formed, but it goes without saying that a large sample of differences that is a part of this population of differences may be created by the above-mentioned method, and the following processing may be performed on this large sample of differences.

[0090] This calculated difference Δx PUsing this data, the following processes are performed: isosceles triangle shape verification (S14), average difference = 0 verification (S15), left-right symmetry verification (S16), and based on the results of these verifications, a determination is made as to whether the sequence of pseudorandom numbers previously input is independent (S17). In this determination, if the isosceles triangle distribution test passes, it is determined that the independence condition is met. If the independence condition is met, a message indicating "pass" is output from output unit 13, and if not, a message indicating "fail" is output and stored in memory unit 14 (S18, S19).

[0091] FIG. 10 shows details of the uniform distribution verification process (FIG. 9, S11).

[0092] The number of random numbers that belong to equally divided intervals over the distribution range of a given pseudorandom number is counted, a histogram is created, and if necessary, it is displayed (S30). By looking at the displayed histogram, it will be possible to visually judge roughly whether the distribution is uniform or not.

[0093] Next, the theoretical value of the frequency over the entire interval (equation (2)) is calculated (S31).

[0094] The frequency and theoretical value for each interval of the histogram are used to calculate the chi-squared value (Equation (3)) (S32), and it is determined whether the chi-squared value is less than a given rejection limit (S33). This determination result is stored in the memory unit 14 (S34). When it is determined that the distribution is not uniform (the chi-squared value is equal to or greater than the rejection limit) in the verification of the uniform distribution, it is of course possible to end the process here by displaying (outputting) the fact that the distribution is not uniform, without proceeding to the subsequent process of verifying independence.

[0095] FIG. 11 shows details of the verification process for the isosceles triangular distribution (FIG. 9, S14) in the process of verifying independence.

[0096] The difference calculated earlier, Δx p The number of differences Δp in each interval of the distribution range is counted (frequency) and the difference Δx pA histogram of the above is created and displayed (S42). By looking at this display, it is possible to roughly determine whether or not there is independence. If the displayed histogram is shaped like an isosceles triangle, it is likely that there is independence, but if the shape is different from that of an isosceles triangle, it can be determined that the independence is questionable.

[0097] Next, the theoretical value for each section of the isosceles triangle shape is calculated (equation (9)) (S41), and the chi-squared value is calculated (equation (8)) (S42). If the chi-squared value is less than a given rejection limit value (criterion value), the verification of the isosceles triangle shape is passed, otherwise it is failed (S43). These pass / fail results are stored in the memory unit 14 and output (S44). If this chi-squared test is failed, the process of verifying independence may end here without proceeding to the subsequent processes (FIG. 9, S15, S16, etc.).

[0098] FIG. 12 shows details of the verification process for the average difference=0 (FIG. 9, S15).

[0099] All differences Δx p The average value and standard deviation of are calculated (S50), and the t value is calculated (equation (10)) (S51). If the calculated t value is less than a predetermined standard value, it is judged as having passed the test for average value of differences = 0, otherwise it is judged as having failed (S52), and this fact is stored and output (S53). If it fails, it is possible to end all processing here without proceeding to the next verification process for left-right symmetry. However, it is also possible not to carry out the verification process for average value of differences = 0 itself.

[0100] FIG. 13 shows details of the process of verifying left-right symmetry (FIG. 9, S16).

[0101] The degree of skewness is calculated according to the formula (11) shown above (S60), and if the calculated degree of skewness is less than a predetermined reference value, it is deemed to be passed, otherwise it is deemed to be failed (S61), and this fact is stored and output (S62). It is not necessary to carry out the process of verifying left-right symmetry.

[0102] Finally, as described above, if the uniform distribution is satisfied and the verification of independence (isosceles triangle shape verification) is passed, the pseudorandom numbers taken in at S10 are judged to have uniform distribution and independence, and this fact is output and stored as described above (Fig. 9, S18). It goes without saying that the above processing can be performed on a large sample instead of the population.

[0103] 5. Creating pseudorandom numbers The above-mentioned evaluation of pseudorandom numbers (evaluation of uniform distribution and independence) can be applied to the creation of pseudorandom numbers that can be used favorably or that can withstand use. This pseudorandom number creation process is also realized by the device (system) shown in Figure 8.

[0104] FIG. 14 shows an overview of the procedure for generating pseudo-random numbers performed by the device 10.

[0105] First, pseudorandom numbers are generated. There are various methods (devices, processes) for generating pseudorandom numbers. For example, there are a method using a logistic chaos equation, a method using the RAND function, a linear congruential method, a Mersenne-Twister method, etc.

[0106] In either case, a pseudorandom number is generated (S70), and the above-mentioned uniform distribution and independence evaluation process is performed on this generated pseudorandom number (S71). If the evaluation process passes the uniform distribution and independence evaluation (YES in S72), the passed pseudorandom number is output as the created pseudorandom number (recorded in a memory recording medium, transmitted) (S73).

[0107] If the test is unsuccessful, the parameters of the pseudorandom number generation process are changed if necessary (YES in S74), and the generation of the pseudorandom numbers and their evaluation (S70, S71) are repeated. If the test is unsuccessful, the process shown in FIG. 14 may be terminated (NO in S74).

[0108] One of the inventors has already announced a new method (device, program) that uses a logistic chaos equation as an example of pseudorandom number generation processing (Patent No. 6782347).

[0109] In this pseudo-random number generation method, a chaotic sequence generation means generates a chaotic sequence by providing given parameters to a logistic chaos equation, a sample sequence generation means generates a sample sequence by sampling at given intervals from the chaotic sequence generated by the chaotic sequence generation means, and a storage means stores the sample sequence generated by the sample sequence generation means.

[0110] The pseudorandom number generation process using this logistic chaos equation will be explained in detail below.

[0111] We adopt the following two types of logistic chaos equations (simply called chaos equations), which we call Type 1 and Type 2, where r is a sequentially increasing positive integer (r=1, 2, 3, ...).

[0112] Type 1y r+1 =4y r (1-y r ) Formula (12) Type 2 y r+1 =1-4y r (1-y r ) Formula (13)

[0113] Either type 1 or type 2 is selected and input by the user (operator), and the selected type is stored in the storage unit 14.

[0114] 15, first, an initial value (initial input information) is input through the input unit 12 and stored in the storage unit 14 (initial processing, initial setting) (FIG. 15, S80). The initial input information includes the selection result of the logistic chaos equation, the initial value (y1) of the logistic chaos equation, the sampling interval (skipping interval) (skipping q), the number of digits of the pseudorandom numbers to be generated (desired to be generated), the number of samples (N) of the pseudorandom number sequence (the number of numerical values ​​in the pseudorandom number sequence finally generated), etc.

[0115] The initial value y1 of the chaos formula is set between 0 < y1 < 1. For example, a value up to the third decimal place (e.g., y1 = 0.234) (which may have a different number of digits from the number of digits of the pseudo-random number) is input from the keyboard as the initial value.

[0116] In principle, the sampling interval q may be 1 or more, but more preferably 5 or more, and practically (for passing the verification of the above-mentioned uniform distribution and independence), it is preferably in the range of 10 to 30. It may be input from the keyboard, or a selectable number q such as a pull-down list may be displayed and selected from among them.

[0117] There is no limit to the number of digits of the pseudo-random number to be generated, but in practice, it is preferably about 1 to 20. The number of samples (extraction number) N of the pseudo-random number is the number of pseudo-random numbers to be generated (total number), and of course, it may be any number, but in practice, it will be about 1000 to 1 million as described above. Since the pseudo-random number is generated through sampling processing as described later, the term "number of samples" is used. The number of digits and the number of samples of the pseudo-random number can also be input using the keyboard (numeric keypad), or they may be selected from a pull-down list.

[0118] Substitute the set initial value y1 into the chaos formula of type 1 or type 2 selected in the initial processing to obtain y2, and calculate the next y3 using this y2. In this way, while sequentially incrementing the value of r, obtain a sequence of numerical values (numerical data) of the set number of digits (a chaos sequence) (Fig. 15, S81) (chaos sequence generation means). An example of the obtained chaos sequence (y1, y2, y3,...) is shown in Fig. 16. y n How far to calculate the value of y depends on the product of the sampling interval q and the number of samples N.

[0119] Extract (sample) numerical values (numbers) (numerical data) at intervals of the set sampling interval q from this chaos sequence to create a sample sequence (Fig. 15, S82) (sample sequence generation means). The sample sequence means a sequence of numerical values (numbers) (numerical data) obtained (extracted) by sampling.

[0120] For ease of understanding, an example of sampling (sample sequence) with a sampling interval q of 2 (every two samples) is shown for the chaotic sequence in Figure 16. Let the sample sequence be x i It is expressed as (i=1,2,3,...).

[0121] The i-th number in the sample sequence (numerical data) x i is given by the following equation when the value of the first x, x1, is set equal to the first value y1 of the chaotic sequence.

[0122] x i =y r Formula (14) r=(q+1)(i-1)+1 Equation (15)

[0123] To finally obtain N pseudorandom numbers that have been initialized, a chaotic sequence having R pieces of numerical data given by the following formula (Formula (16)) is generated in S81. However, it is not necessary to make the first numerical value (numerical data) x1 of the sample sequence the same as the initial value y1 of the chaotic sequence. The second numerical value y2 or the third numerical value y3 of the chaotic sequence can be the first value y1 of the sample sequence, or the y after skipping q pieces including y1 from the beginning of the chaotic sequence can be the first value y1 of the sample sequence. q+1 The first value x1 of the sample sequence can be anywhere, e.g., let x be the first value x1 of the sample sequence. In that case, the number R given in equation (9) will be modified according to the value of x1.

[0124] R=(q+1)(N-1)+C Equation (16) C can be any value such as 1, 2, 3, 4, ... or 1, q+1, 2q+1, ...

[0125] The sample sequence thus obtained is a pseudo-random number sequence defined by the input and set initial conditions (initial input information), and is temporarily stored in the storage unit 14 .

[0126] Although the generation of the chaotic sequence (S81) and the generation of the sample sequence (S82) are described above as separate processes, these processes can also be executed in parallel. For example, while creating a chaotic sequence, values ​​are sampled at intervals of q, or a recurrence formula is created to calculate the sequence of the chaotic sequence at intervals of q at a time, and a sample sequence is generated according to this recurrence formula.

[0127] Depending on the initial conditions, the chaotic sequence or the sample sequence created based on it will not produce the same calculation result y even if r or i is incremented. r or x i Sometimes, does not change. This is called a stopping point.

[0128] In the following, we will discuss how to determine the stopping point for the sample sequence and how to deal with it.

[0129] The change in the sample sequence, Δx i is calculated according to the following formula (formula (17)) (FIG. 15, S83) (means for calculating the difference between adjacent values), and stored in the storage unit 14.

[0130] Δx i =Δx i+1 -Δx i Formula (17)

[0131] And the calculated change Δx i It is determined whether or not is 0 (equation (18)) (S83).

[0132] Δx i =0 Equation (18)

[0133] x that satisfies equation (18) i If there is, the (i+1)th sample in the sequence is determined to be the stopping point.

[0134] If it is determined that a stopping point exists (Y: YES in S84), the initial value y1 of the chaos set in S80 is changed (S85). The initial value may be changed by changing the current initial value, or may be set to a completely new initial value. For example, the new initial value may be a value obtained by adding 0.001 to the current initial value y1. This new initial value is of course stored in the memory unit. The initial value may be changed automatically by the internal processing of the computer (for example, the calculation of +0.001 as above), or may be input and reset by the user. It is preferable to display on the display unit 15 a message that the initial value has been automatically changed or that it is necessary to change the initial value. After the initial value is changed, the process is started over from the generation of the chaos sequence (S81).

[0135] The change in the sample sequence, Δx i If the number of generated samples reaches the initially set N without becoming 0 (N: NO in S86), the generated sample number sequence is temporarily stored in the storage unit 14.

[0136] A chaotic sequence is said to have a U-shaped distribution. A sample sequence created by sampling every q numbers from a chaotic sequence also has a U-shaped distribution.

[0137] Then, a uniformization process is performed to convert the generated sample sequence having a U-shaped distribution into a uniform distribution (S86).

[0138] There are various methods for uniformization processing, but as an example, it can be converted to a uniform distribution using the following conversion formula.

[0139] z i =[cos -1 (1-2x i )] / π Equation (19)

[0140] For simplicity, z after uniform processing i The symbol x of the pseudorandom sequence to be tested for uniform distribution and independence i Let's leave it at that.

[0141] The uniformly transformed sample sequence is stored in the storage unit 14 (FIG. 15, S87). This uniformly transformed sample sequence is then subjected to verification of uniform distribution and independence (FIG. 14, S71).

[0142] Finally, we present some examples of generating pseudorandom number sequences and verifying the uniform distribution and independence of the generated pseudorandom number sequences. In these examples, the data of the large sample of the difference between two adjacent items mentioned above (a large sample obtained by adding the restriction j=i+1) is used to determine the uniform distribution and independence.

[0143] 1. Example 1 (1) How to generate pseudorandom numbers Logistic Chaos Equation (Type 1) Initial value y1=0.2 Sampling interval q=20 (skipping 20 samples) Number of pseudorandom digits: 16 Number of samples in the pseudorandom sequence: 10000 (2) Verification of uniform distribution (χ 2 Examination) χ 2 =27.84 Pass (significance level 0.05) (3) Verification of independence (i) Verification of isosceles triangular distribution (χ 2 Examination) χ 2 =31.14 Passed (significance level 0.001) (ii) Verification of mean difference = 0 (t-test) t-value=0.005 Pass (significance level 0.05) (iii) Verifying symmetry Skewness=0.02 Pass (standard value ±0.1) (iv) Independence determination Independence (also uniform distribution)

[0144] Figure 17 shows the pseudo-random numbers generated in Example 1 in chronological order (in order of generation). Only 1,000 representative random numbers are shown. The horizontal axis shows the order of generation, and the vertical axis shows the pseudo-random numbers. Figure 18 is a graph showing the verification results of uniform distribution in Example 1. The horizontal axis shows the generated random numbers, and the vertical axis shows their frequency (number, frequency). Figure 19 is a graph showing the verification results of isosceles triangular distribution in Example 1. The horizontal axis shows the difference value, and the vertical axis shows the frequency (number, frequency).

[0145] 2. Example 2 (1) How to generate pseudorandom numbers Logistic Chaos Equation (Type 1) Initial value y1=0.2 Sampling interval q=0 (skip 0) Number of pseudorandom digits: 16 Number of samples in the pseudorandom sequence: 10000 (2) Verification of uniform distribution (χ 2 Examination) χ 2 =15.88 Pass (significance level 0.05) (3) Verification of independence (i) Verification of isosceles triangular distribution (χ 2 Examination) χ 2 =4748.568 Fail (significance level 0.001) (ii) Verification of mean difference = 0 (t-test) t-value=0.0124 Pass (significance level 0.05) (iii) Verifying symmetry Skewness=-0.929 Fail (standard value ±0.1) (iv) Independence determination Independence not recognized

[0146] Figure 20 shows the pseudo-random numbers generated in Example 2 in chronological order (in order of generation). Only 1,000 representative random numbers are shown. The horizontal axis shows the order of generation, and the vertical axis shows the pseudo-random numbers. Figure 21 is a graph showing the verification results of uniform distribution in Example 2. The horizontal axis shows the generated random numbers, and the vertical axis shows their frequency (number, frequency). Figure 22 is a graph showing the verification results of isosceles triangular distribution in Example 2. The horizontal axis shows the difference value, and the vertical axis shows the frequency (number, frequency).

[0147] 3. Example 3 (1) How to generate pseudorandom numbers Random numbers were generated using the uniform random number function “runif” from the R software version 4.0.3 (R Foundation for Statistical Computing, Vienna, Austria). The random number seed setting (seed value) was “1234”. Number of pseudorandom digits: 16 Number of samples in the pseudorandom sequence: 10000 (2) Verification of uniform distribution (χ2 test) χ2=15.930 Pass (significance level 0.05) (3) Verification of independence (i) Verification of isosceles triangular distribution (χ2 test) χ2=54.754 Fail (significance level 0.001) (ii) Verification of mean difference = 0 (t-test) t-value=0.002 Pass (significance level 0.05) (iii) Verifying symmetry Skewness=0.008 Pass (standard value ±0.1) (iv) Independence determination Not independent

[0148] Figure 23 shows the pseudo-random numbers generated in Example 3 in chronological order (in order of generation). Only 1,000 representative random numbers are shown. The horizontal axis shows the order of generation, and the vertical axis shows the pseudo-random numbers. Figure 24 is a graph showing the verification results of uniform distribution in Example 3. The horizontal axis shows the generated random numbers, and the vertical axis shows their frequency (number, frequency). Figure 25 is a graph showing the verification results of isosceles triangular distribution in Example 3. The horizontal axis shows the difference value, and the vertical axis shows the frequency (number, frequency). [Explanation of symbols]

[0149] 10. Pseudorandom number evaluation device (system) and pseudorandom number creation (generation) device 11 Calculation unit (computer) 12 Input section 13 Output section 14 Storage section 15 Display section

Claims

1. The apparatus includes a uniform distribution check means for checking whether a sequence of given pseudorandom numbers is uniformly distributed, and an independence check means for checking whether the sequence is independent, The uniform distribution test means tests whether the frequency of each interval obtained by dividing the range of the given pseudorandom number into equal intervals is within a statistically acceptable range of a uniform distribution, The independence checking means includes: an isosceles triangle shape inspection means for inspecting whether or not the frequency distribution of each interval obtained by arranging the differences on one axis of an orthogonal coordinate system and dividing the differences at equal intervals in either a population of differences obtained by taking all combinations of the differences between any two numbers in the given pseudorandom numbers or a large sample of differences extracted from the population is within a statistically acceptable range of an isosceles triangle shape distribution; Pseudorandom number evaluation system.

2. The independence test means further includes a symmetry test means for testing whether the distribution of the frequency of the difference is within a statistically acceptable range of symmetry around zero.

2. The pseudorandom number evaluation system according to claim 1.

3. The independence test means further includes an average value test means for testing whether the average value of the differences is within a statistical tolerance range centered on zero.

2. The pseudorandom number evaluation system according to claim 1.

4. A method for performing a uniform distribution test to check whether a given sequence of pseudorandom numbers is uniformly distributed and an independence test to check whether the sequences are independent, comprising: A uniform distribution test means tests whether the frequency of each interval obtained by dividing the existence range of the given pseudorandom number into equal intervals is within a statistically acceptable range of a uniform distribution; an isosceles triangle shape testing means of the independence testing means tests whether or not the distribution of frequencies of each interval obtained by dividing the differences into equal intervals on one axis of an orthogonal coordinate system, for either a population of differences obtained by taking all combinations of differences between any two numbers in the given pseudorandom numbers or a large sample of differences extracted from the population, is within a statistically acceptable range of an isosceles triangle shape distribution. Pseudorandom number evaluation method.

5. A program that performs a uniform distribution test to check whether a given sequence of pseudorandom numbers is uniformly distributed and an independence test to check whether the sequences are independent, Check whether the frequency of each interval obtained by dividing the range of the given pseudorandom number into equal intervals is within a statistically acceptable range of a uniform distribution; In either a population of differences obtained by taking all combinations of the differences between any two given pseudorandom numbers or a large sample of differences extracted from this population, the differences are arranged on one axis of a Cartesian coordinate system and divided at equal intervals, and the frequency distribution of each interval is checked to see whether it is within a statistically acceptable range of an isosceles triangular distribution. Pseudorandom number evaluation program.

6. A pseudorandom number generating means for generating pseudorandom numbers, and a pseudorandom number evaluation system according to any one of claims 1 to 3, providing the pseudorandom numbers generated by the pseudorandom number generation means to the pseudorandom number evaluation system, and outputting the pseudorandom numbers evaluated by the pseudorandom number evaluation system; Pseudorandom number generator.

7. A pseudorandom number generating means generates pseudorandom numbers, and the uniform distribution and independence of the generated pseudorandom numbers are evaluated by the pseudorandom number evaluation method according to claim 4. A method for generating pseudorandom numbers.

8. 6. A pseudorandom number generating program comprising: a program for generating pseudorandom numbers; and a pseudorandom number evaluating program according to claim 5 for evaluating the pseudorandom numbers generated by said program.

9. A chaos sequence generating means for generating a chaos sequence by applying given parameters to a logistic chaos equation; a sample sequence generating means for sampling the chaotic sequence generated by the chaotic sequence generating means at given intervals to generate a sample sequence; a uniformizing means for uniformizing the distribution of the sample sequence generated by the sample sequence generating means; and A pseudorandom number evaluation system according to any one of claims 1 to 3, providing the pseudorandom number sequence output from the uniformizing means to the pseudorandom number evaluation system; Pseudorandom number generator.

10. A chaotic sequence generating means generates a chaotic sequence by giving a given parameter to a logistic chaos equation; a sample sequence generating means for sampling the chaotic sequence generated by the chaotic sequence generating means at a given interval to generate a sample sequence; A uniformizing means uniformizes the distribution of the sample sequence generated by the sample sequence generating means, The uniform distribution and independence of the pseudorandom number sequence output from the uniformization means is evaluated by the pseudorandom number evaluation method according to claim 4. A method for generating pseudorandom numbers.

11. Generate a chaotic sequence by giving given parameters to the logistic chaos equation, A sample sequence is generated by sampling the generated chaotic sequence at a given interval, Controlling the computer so as to uniformly distribute the generated sample sequence; The uniform distribution and independence of the uniformed pseudorandom number sequence are evaluated by the pseudorandom number evaluation program according to claim 5. A pseudorandom number generator.

Citation Information

Patent Citations

  • Pseudo-random number generation device, method and program

    JP2021089460A

  • Pseudo-random number generation device and pseudo-random number generation program

    JP2018097438A

  • Pseudorandom number generation device, method and program

    JP6782347B1