Pseudo-random number generators based on the Collatz conjecture

被引:7
|
作者
Xu D. [1 ]
Tamir D.E. [2 ]
机构
[1] Westwood High School, Austin, TX
[2] Texas State University, San Marcos, TX
关键词
Collatz conjecture; Pseudo-random number generator; Statistical testing;
D O I
10.1007/s41870-019-00307-9
中图分类号
学科分类号
摘要
In this research, we have studied the applicability of the Collatz Conjecture to pseudo-random number generators (PRNG). The research was motivated by the simplicity of the Collatz function, which makes it attractive as a potential PRNG. We have experimented with several candidate PRNGs based on the trajectory property of the Collatz function and the Collatz graph. The NIST Test Suite (SP 800-22) was used to evaluate the statistical randomness of the output of our PRNGs. In addition, we utilized a method to rank each PRNG by quality of random output. The test results have demonstrated that two of our PRNGs pass the NIST Test Suite, and that there is no significant statistical difference between the outputs of our PRNGs to that of the Mersenne Twister, the built-in PRNG in Python 3.7. To the best of our knowledge, our algorithms are the first to successfully utilize properties of the Collatz function to generate random numbers. Additionally, we have proved that one of our PRNGs generates uniformly distributed output with a period of 232. Finally, we have found that two of our PRNGs perform on par with the Mersenne Twister algorithm. Because our algorithms pass the NIST Test Suite, they are suitable for usage in certain cryptographic applications as well as simulations. © 2019, Bharati Vidyapeeth's Institute of Computer Applications and Management.
引用
收藏
页码:453 / 459
页数:6
相关论文
共 50 条