Abstract
Random number generators play a critical role in many scientific and engineering applications, particularly in simulation, cryptography, and optimization. Among these generators, Linear Congruential Generators (LCGs) are widely used due to their simplicity and computational efficiency. However, the statistical quality of the generated sequences strongly depends on the proper selection of generator parameters. In this study, the determination of optimal LCG parameters is formulated as a heuristic optimization problem. The Improved Grey Wolf Optimizer (IGWO) is employed to search for suitable multiplier, increment, and seed values. The proposed approach aims to achieve a uniform distribution of generated numbers while maintaining low correlation between consecutive values. The performance of the optimized LCG is evaluated using the objective fitness function as well as additional statistical performance metrics derived from the generated sequences. The effectiveness of the proposed IGWO-based optimization approach is demonstrated through repeated independent runs using the same fitness evaluation framework. Experimental results demonstrate that the proposed approach provides improved parameter selection for LCGs and enhances the statistical properties of the generated random sequences.
References
Akyol, S., 2022 A new hybrid method based on aquila optimizer and tangent search algorithm for global optimization. Journal of Ambient Intelligence and Humanized Computing 13: 1–21.
Akyol, S. and B. Alatas, 2017 Plant intelligence based metaheuristic optimization algorithms. Artificial Intelligence Review 47: 417–462.
Almaraz Luengo, E. and J. Román Villaizán, 2023 Cryptographically Secured Pseudo-Random Number Generators: Analysis and Testing with NIST Statistical Test Suite. Mathematics 11: 4812.
Bikos, A., P. E. Nastou, G. Petroudis, and Y. C. Stamatiou, 2023 Random Number Generators: Principles and Applications. Cryptography 7: 54.
Chen, S. and J. Zheng, 2024 A hybrid grey wolf optimizer for engineering design problems. Journal of Combinatorial Optimization 47: 86.
Crocetti, L., S. Di Matteo, P. Nannipieri, L. Fanucci, and S. Saponara, 2022 Design and Test of an Integrated Random Number Generator with All-Digital Entropy Source. Entropy 24: 139.
Ferreira, M. J., N. A. Silva, A. N. Pinto, and N. J. Muga, 2023 Statistical Validation of a Physical Prime Random Number Generator Based on Quantum Noise. Applied Sciences 13: 12619.
Foreman, C., R. Yeung, and F. J. Curchod, 2024 Statistical Testing of Random Number Generators and Their Improvement Using Randomness Extraction. Entropy 26: 1053.
Hajduk, Z., 2024 Field-Programmable Gate Array-Based True Random Number Generator Using Capacitive Oscillators. Electronics 13: 4819.
Irfan, M., A. Ali, M. A. Khan, M. Ehatisham-ul Haq, S. N. Mehmood Shah, et al., 2020 Pseudorandom Number Generator (PRNG) Design Using Hyper-Chaotic Modified Robust Logistic Map (HC-MRLM). Electronics 9: 104.
L’Ecuyer, P., 1999 Tables of linear congruential generators of different sizes and good lattice structure. Mathematics of Computation 68: 249–260.
Li, S., Z. Lin, Y. Yang, and R. Ning, 2024 A High-Performance FPGA PRNG Based on Multiple Deep-Dynamic Transformations. Entropy 26: 671.
Liu, J., Z. Liang, Y. Luo, L. Cao, S. Zhang, et al., 2021 A Hardware Pseudo-Random Number Generator Using Stochastic Computing and Logistic Map. Micromachines 12: 31.
Maksymovych, V., M. Shabatura, O. Harasymchuk, R. Shevchuk, P. Sawicki, et al., 2022 Combined Pseudo-Random Sequence Generator for Cybersecurity. Sensors 22: 9700.
Mirjalili, S., S. M. Mirjalili, and A. Lewis, 2014 Grey wolf optimizer. Advances in Engineering Software 69: 46–61.
Nadimi-Shahraki, M. H., S. Taghian, and S. Mirjalili, 2021 An improved grey wolf optimizer for solving engineering problems. Expert Systems with Applications 166: 113917.
Nam, J.-W., J. Kim, and J.-P. Hong, 2022 Stochastic Cell- and Bit-Discard Technique to Improve Randomness of a TRNG. Electronics 11: 1735.
Nannipieri, P., S. Di Matteo, L. Baldanzi, L. Crocetti, J. Belli, et al., 2021 True Random Number Generator Based on Fibonacci-Galois Ring Oscillators for FPGA. Applied Sciences 11: 3330.
Ozkaynak, F., 2014 Cryptographically secure random number generator with chaotic additional input. Nonlinear Dynamics 78: 2015–2020.
Ozkaynak, F., 2015 A novel method to improve the performance of chaos based evolutionary algorithms. Optik 126: 5434–5438.
Ozkaynak, F., 2020 A Novel Random Number Generator Based on Fractional Order Chaotic Chua System. Elektronika ir Elektrotechnika 26: 52–57.
Ozkaynak, F. and S. Yavuz, 2013 Security problems for a pseudorandom sequence generator based on the Chen chaotic system. Computer Physics Communications 184: 2178–2181.
Panda, A. K. and K. C. Ray, 2020 A coupled variable input LCG method and its VLSI architecture for pseudorandom bit generation. IEEE Transactions on Instrumentation and Measurement 69: 1011–1019.
Park, S., K. Kim, K. Kim, and C. Nam, 2022 Dynamical Pseudo-Random Number Generator Using Reinforcement Learning. Applied Sciences 12: 3377.
Qiu, Y., X. Yang, and S. Chen, 2024 An improved gray wolf optimization algorithm solving to functional optimization and engineering design problems. Scientific Reports 14: 14190.
Rajwar, K., K. Deep, and S. Das, 2023 An exhaustive review of the metaheuristic algorithms for search and optimization: taxonomy, applications, and open challenges. Artificial Intelligence Review 56: 13187–13257.
Rojas-Muñoz, L. F., S. Sánchez-Solano, M. C. Martínez-Rodríguez, and P. Brox, 2022 True Random Number Generation Capability of a Ring Oscillator PUF for Reconfigurable Devices. Electronics 11: 4028.
Steele Jr., G. L. and S. Vigna, 2022 Computationally easy, spectrally good multipliers for congruential pseudorandom number generators. Software: Practice and Experience 52: 443–458.
Yu, M., J. Xu, W. Liang, et al., 2024 Improved multi-strategy adaptive Grey Wolf Optimization for practical engineering applications and high-dimensional problem solving. Artificial Intelligence Review 57: 277.
Zhao, W., Z. Chang, C. Ma, and Z. Shen, 2023 A Pseudorandom Number Generator Based on the Chaotic Map and Quantum Random Walks. Entropy 25: 166.
Zhao, W. and C. Ma, 2024 Modification of Intertwining Logistic Map and a Novel Pseudo Random Number Generator. Symmetry 16: 169.
Álvarez, R., F. Martínez, and A. Zamora, 2022 Improving the Statistical Qualities of Pseudo Random Number Generators. Symmetry 14: 269.

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
