In the history of mathematics different methods have been used to detect if a number is prime or not. In this paper a new one will be shown. It will be demonstrated that if the following equation is zero for a certain...In the history of mathematics different methods have been used to detect if a number is prime or not. In this paper a new one will be shown. It will be demonstrated that if the following equation is zero for a certain number p, this number p would be prime. And being m an integer number higher than (the lowest, the most efficient the operation). . If the result is an integer, this result will tell us how many permutations of two divisors, the input number has. As you can check, no recurrent division by odd or prime numbers is done, to check if the number is prime or has divisors. To get to this point, we will do the following. First, we will create a domain with all the composite numbers. This is easy, as you can just multiply one by one all the integers (greater or equal than 2) in that domain. So, you will get all the composite numbers (not getting any prime) in that domain. Then, we will use the Fourier transform to change from this original domain (called discrete time domain in this regards) to the frequency domain. There, we can check, using Parseval’s theorem, if a certain number is there or not. The use of Parseval’s theorem leads to the above integral. If the number p that we want to check is not in the domain, the result of the integral is zero and the number is a prime. If instead, the result is an integer, this integer will tell us how many permutations of two divisors the number p has. And, in consequence information how many factors, the number p has. So, for any number p lower than 2m?- 1, you can check if it is prime or not, just making the numerical definite integration. We will apply this integral in a computer program to check the efficiency of the operation. We will check, if no further developments are done, the numerical integration is inefficient computing-wise compared with brute-force checking. To be added, is the question regarding the level of accuracy needed (number of decimals and number of steps in the numerical integration) to have a reliable result for large numbers. This will be commented on the paper, but a separate study will be needed to have detailed conclusions. Of course, the best would be that in the future, an analytical result (or at least an approximation) for the summation or for the integration is achieved.展开更多
The generation of good pseudo-random numbers is the base of many important fields in scientific computing, such as randomized algorithms and numerical solution of stochastic differential equations. In this paper, a cl...The generation of good pseudo-random numbers is the base of many important fields in scientific computing, such as randomized algorithms and numerical solution of stochastic differential equations. In this paper, a class of random number generators (RNGs) based on Weyl sequence is proposed. The uniformity of those RNGs is proved theoretically. Statistical and numerical computations show the efficiency of the methods.展开更多
The test section’s Mach number in wind tunnel testing is a significant metric for evaluating system performance.The quality of the flow field in the wind tunnel is contingent upon the system's capacity to maintai...The test section’s Mach number in wind tunnel testing is a significant metric for evaluating system performance.The quality of the flow field in the wind tunnel is contingent upon the system's capacity to maintain stability across various working conditions.The process flow in wind tunnel testing is inherently complex,resulting in a system characterized by nonlinearity,time lag,and multiple working conditions.To implement the predictive control algorithm,a precise Mach number prediction model must be created.Therefore,this report studies the method for Mach number prediction modelling in wind tunnel flow fields with various working conditions.Firstly,this paper introduces a continuous transonic wind tunnel.The key physical quantities affecting the flow field of the wind tunnel are determined by analyzing its structure and blowing process.Secondly,considering the nonlinear and time-lag characteristics of the wind tunnel system,a CNN-LSTM model is employed to establish the Mach number prediction model by combining the 1D-CNN algorithm with the LSTM model,which has long and short-term memory functions.Then,the attention mechanism is incorporated into the CNN-LSTM prediction model to enable the model to focus more on data with greater information importance,thereby enhancing the model's training effectiveness.The application results ultimately demonstrate the efficacy of the proposed approach.展开更多
Prime integers and their generalizations play important roles in protocols for secure transmission of information via open channels of telecommunication networks. Generation of multidigit large primes in the design st...Prime integers and their generalizations play important roles in protocols for secure transmission of information via open channels of telecommunication networks. Generation of multidigit large primes in the design stage of a cryptographic system is a formidable task. Fermat primality checking is one of the simplest of all tests. Unfortunately, there are composite integers (called Carmichael numbers) that are not detectable by the Fermat test. In this paper we consider modular arithmetic based on complex integers;and provide several tests that verify the primality of real integers. Although the new tests detect most Carmichael numbers, there are a small percentage of them that escape these tests.展开更多
The main aim of the present paper is to study the robustness of the developed sequential probability ratio test (SPRT) for testing the hypothesis about scale parameter of gamma distribution with known shape parameter ...The main aim of the present paper is to study the robustness of the developed sequential probability ratio test (SPRT) for testing the hypothesis about scale parameter of gamma distribution with known shape parameter and exponential distribution with location parameter. The robustness of the SPRT for scale parameter of gamma distribution is studied when the shape parameter has undergone a change. The similar study is conducted for the scale parameter of exponential distribution when the location parameter has undergone a change. The expressions for operating characteristic and average sample number functions are derived. It is found in both the cases that the SPRT is robust only when there is a slight variation in the shape and location parameter in the respective distributions.展开更多
文摘In the history of mathematics different methods have been used to detect if a number is prime or not. In this paper a new one will be shown. It will be demonstrated that if the following equation is zero for a certain number p, this number p would be prime. And being m an integer number higher than (the lowest, the most efficient the operation). . If the result is an integer, this result will tell us how many permutations of two divisors, the input number has. As you can check, no recurrent division by odd or prime numbers is done, to check if the number is prime or has divisors. To get to this point, we will do the following. First, we will create a domain with all the composite numbers. This is easy, as you can just multiply one by one all the integers (greater or equal than 2) in that domain. So, you will get all the composite numbers (not getting any prime) in that domain. Then, we will use the Fourier transform to change from this original domain (called discrete time domain in this regards) to the frequency domain. There, we can check, using Parseval’s theorem, if a certain number is there or not. The use of Parseval’s theorem leads to the above integral. If the number p that we want to check is not in the domain, the result of the integral is zero and the number is a prime. If instead, the result is an integer, this integer will tell us how many permutations of two divisors the number p has. And, in consequence information how many factors, the number p has. So, for any number p lower than 2m?- 1, you can check if it is prime or not, just making the numerical definite integration. We will apply this integral in a computer program to check the efficiency of the operation. We will check, if no further developments are done, the numerical integration is inefficient computing-wise compared with brute-force checking. To be added, is the question regarding the level of accuracy needed (number of decimals and number of steps in the numerical integration) to have a reliable result for large numbers. This will be commented on the paper, but a separate study will be needed to have detailed conclusions. Of course, the best would be that in the future, an analytical result (or at least an approximation) for the summation or for the integration is achieved.
基金Supported by National Natural Science Foundation of China (19871047)and National Key Basic Research Special Fund(1998020306).
文摘The generation of good pseudo-random numbers is the base of many important fields in scientific computing, such as randomized algorithms and numerical solution of stochastic differential equations. In this paper, a class of random number generators (RNGs) based on Weyl sequence is proposed. The uniformity of those RNGs is proved theoretically. Statistical and numerical computations show the efficiency of the methods.
基金funded by the National Natural Science Foundation of China(No.61503069)the Fundamental Research Funds for the Central Universities(N150404020).
文摘The test section’s Mach number in wind tunnel testing is a significant metric for evaluating system performance.The quality of the flow field in the wind tunnel is contingent upon the system's capacity to maintain stability across various working conditions.The process flow in wind tunnel testing is inherently complex,resulting in a system characterized by nonlinearity,time lag,and multiple working conditions.To implement the predictive control algorithm,a precise Mach number prediction model must be created.Therefore,this report studies the method for Mach number prediction modelling in wind tunnel flow fields with various working conditions.Firstly,this paper introduces a continuous transonic wind tunnel.The key physical quantities affecting the flow field of the wind tunnel are determined by analyzing its structure and blowing process.Secondly,considering the nonlinear and time-lag characteristics of the wind tunnel system,a CNN-LSTM model is employed to establish the Mach number prediction model by combining the 1D-CNN algorithm with the LSTM model,which has long and short-term memory functions.Then,the attention mechanism is incorporated into the CNN-LSTM prediction model to enable the model to focus more on data with greater information importance,thereby enhancing the model's training effectiveness.The application results ultimately demonstrate the efficacy of the proposed approach.
文摘Prime integers and their generalizations play important roles in protocols for secure transmission of information via open channels of telecommunication networks. Generation of multidigit large primes in the design stage of a cryptographic system is a formidable task. Fermat primality checking is one of the simplest of all tests. Unfortunately, there are composite integers (called Carmichael numbers) that are not detectable by the Fermat test. In this paper we consider modular arithmetic based on complex integers;and provide several tests that verify the primality of real integers. Although the new tests detect most Carmichael numbers, there are a small percentage of them that escape these tests.
文摘The main aim of the present paper is to study the robustness of the developed sequential probability ratio test (SPRT) for testing the hypothesis about scale parameter of gamma distribution with known shape parameter and exponential distribution with location parameter. The robustness of the SPRT for scale parameter of gamma distribution is studied when the shape parameter has undergone a change. The similar study is conducted for the scale parameter of exponential distribution when the location parameter has undergone a change. The expressions for operating characteristic and average sample number functions are derived. It is found in both the cases that the SPRT is robust only when there is a slight variation in the shape and location parameter in the respective distributions.