English

Accelerating true orbit pseudorandom number generation using Newton's method

Computation 2025-02-25 v1 Number Theory

Abstract

The binary expansions of irrational algebraic numbers can serve as high-quality pseudorandom binary sequences. This study presents an efficient method for computing the exact binary expansions of real quadratic algebraic integers using Newton's method. To this end, we clarify conditions under which the first NN bits of the binary expansion of an irrational number match those of its upper rational approximation. Furthermore, we establish that the worst-case time complexity of generating a sequence of length NN with the proposed method is equivalent to the complexity of multiplying two NN-bit integers, showing its efficiency compared to a previously proposed true orbit generator. We report the results of numerical experiments on computation time and memory usage, highlighting in particular that the proposed method successfully accelerates true orbit pseudorandom number generation. We also confirm that a generated pseudorandom sequence successfully passes all the statistical tests included in RabbitFile of TestU01.

Cite

@article{arxiv.2502.16108,
  title  = {Accelerating true orbit pseudorandom number generation using Newton's method},
  author = {Asaki Saito and Akihiro Yamaguchi},
  journal= {arXiv preprint arXiv:2502.16108},
  year   = {2025}
}

Comments

16 pages, 2 figures

R2 v1 2026-06-28T21:53:49.590Z