English

Sequences of integers generated by two fixed primes

Number Theory 2025-11-27 v1

Abstract

Let pp and qq be two distinct fixed prime numbers and (ni)i0(n_i)_{i\geq 0} the sequence of consecutive integers of the form paqbp^a\cdot q^b with a,b0a,b\ge 0. Tijdeman gave a lower bound (1973) and an upper bound (1974) for the gap size ni+1nin_{i+1}-n_i, with each bound containing an unspecified exponent and implicit constant. We will explicitly bound these four quantities. Earlier Langevin (1976) gave weaker estimates for (only) the exponents. Given a real number α>1\alpha>1, there exists a smallest number mm such that for every nmn\ge m, there exists an integer nin_i in [n,nα)[n,n\alpha). Our effective version of Tijdeman's result immediately implies an upper bound for mm, which using the Koksma-Erd\H{o}s-Turan inequality we will improve on. We present a fast algorithm to determine mm when max{p,q}\max\{p,q\} is not too large and demonstrate it with numerical material. In an appendix we explain, given nin_i, how to efficiently determine both ni1n_{i-1} and ni+1n_{i+1}, something closely related to work of B\'erczes, Dujella and Hajdu.

Keywords

Cite

@article{arxiv.2309.12806,
  title  = {Sequences of integers generated by two fixed primes},
  author = {Alessandro Languasco and Florian Luca and Pieter Moree and Alain Togbé},
  journal= {arXiv preprint arXiv:2309.12806},
  year   = {2025}
}

Comments

19 pages, 5 Tables, 1 Appendix

R2 v1 2026-06-28T12:29:21.947Z