摘要
文章提出了一种生成随机数的数学方法,并说明了如何在计算机上实现本方法。从实验结果来看,本方法所生成的随机数集合具有无限性、无周期性、随机性、均匀性和可复现性等特征,已经可以媲美真随机数。本方法的核心思想是用函数计算超大整数,并对超大整数进制转换,从而得到一定范图内、分布均匀的随机数集合,它是一种低成本获得大量随机数的新方法。
This paper presents a mathematical method of generating random numbers,and explains how to realize this method on computer.From the results of the experiment,the random number set generated by this method has the characteristics of infinity,no periodicity,randomness,uniformity and reproducibility,which is already comparable to the true random number.The core of this mathematical method is to use the function to compute the super large integers and to transform the number base of super large integers.Thus,a set of random numbers with uniform distribution can be obtained within a certain range.It is a new method to obtain a large number of random numbers at low cost.
作者
陈华贤
CHEN Huaxian(Yetang Town People's Government,Party Masses Service Center,Xingning,Guangdong 514500)
出处
《计算机应用文摘》
2022年第23期98-103,共6页
Chinese Journal of Computer Application
关键词
随机数
函数
进制转换
无理数
超大整数
random number
function
nurmber base conversion
irrational number
super large integer