An Upper Bound for Locating Strings with High Probability Within Consecutive Bits of Pi
Open Access
- 19 January 2025
- journal article
- research article
- Published by MDPI AG in Mathematics
- Vol. 13 (2) , 313
Abstract
Numerous studies on the number pi () explore its properties, including normality and applicability. This research, grounded in two hypotheses, proposes and proves a theorem that employs a Bernoulli experiment to demonstrate the high probability of encountering any finite bit string within a sequence of consecutive bits in the decimal part of . This aligns with findings related to its normality. To support the hypotheses, we present experimental evidence about the equiprobable and independent properties of bits of , analyzing their distribution, and measuring correlations between bit strings. Additionally, from a cryptographic perspective, we evaluate the chaotic properties of two images generated using bits of . These properties are evaluated similarly to those of encrypted images, using measures of correlation and entropy, along with two hypothesis tests to confirm the uniform distribution of bits and the absence of periodic patterns. Unlike previous works that solely examine the presence of sequences, this study provides, as a corollary, a formula to calculate an upper bound N. This bound represents the length of the sequence from required to ensure the location of any n-bit string at least once, with an adjustable probability p that can be set arbitrarily close to one. To validate the formula, we identify sequences of up to 40 consecutive zeros and ones within the first N bits of . This work has potential applications in Cryptography that use the number for random sequence generation, offering insights into the number of bits of required to ensure good randomness properties.
Keywords
Funding Information
- Instituto Politécnico Nacional (SIP-20241356, SIP-20241716)
This publication has 37 references indexed in Scilit:
- Rational approximations to pie: transcendental π and Euler’s Constant eJournal of Mathematical Chemistry, 2023
- An efficient image cipher based on the 1D scrambled image and 2D logistic chaotic mapMultimedia Tools and Applications, 2023
- A Lightweight and Robust Stream Cipher Based on PI for Intelligent Transportation SystemsWireless Personal Communications, 2023
- Complex entropy based encryption and decryption technique for securing medical imagesMultimedia Tools and Applications, 2022
- Interpretability for Industry 4.0 : Statistical and Machine Learning Approaches2022
- Compressive sensing based image compression-encryption using Novel 1D-Chaotic mapMultimedia Tools and Applications, 2017
- Pi: The Next Generation2016
- The chi squared and multinormal distributionsJournal of Chemometrics, 2014
- The evidenceThe Mathematical Intelligencer, 1985
- Les probabilités dénombrables et leurs applications arithmétiquesRendiconti del Circolo Matematico di Palermo Series 2, 1909