Squares with three digits

Michael Geißer,Theresa Körner,Sascha Kurz,Anne Zahn
DOI: https://doi.org/10.48550/arXiv.2112.00444
2022-01-10
Abstract:We consider integers whose squares have just three decimal digits. Examples are e.g. given by $2108436491907081488939581538^2 = 4445504440405440505004450045555054500055550554550445444$ and $10100000000010401000000000101^2 = 102010000000210100200000110221001000002101002000000010201$. The aim of this paper is to summarize the current knowledge on squares with three digits, scattered around webpages and newsgroup postings, and to add a few new insights. While we will mostly focus on the base $B=10$, several results are presented for general values of $B$. The used mathematical tools are completely elementary. However, we give complete proofs of all statements or explicitly state them as conjectures.
Number Theory,Combinatorics
What problem does this paper attempt to address?
The problem that this paper attempts to solve is: to explore the mathematical characteristics and patterns of square numbers that contain only three different digits. Specifically, the article focuses on integers \(N\) whose square results consist of only three different digits, and these integers have specific structures and patterns when represented in a given base \(B\). ### Background and Origin of the Problem This problem can be traced back to 1991. In the reference [4, Exercise 2.2], the study of square numbers containing only three specific digits (such as 2, 4, 8) was first proposed. Subsequently, Sin Hitotumatu proposed a broader question: Are there a finite number of square numbers that do not end with zero and are composed of only two different decimal digits? Currently, only 24 such numbers are known, and the largest one is \(81619^2 = 6661661161\). As the research on numbers with only two different digits gradually deepens, researchers begin to turn to the study of square numbers containing three different digits. For example, some web pages in the world (such as http://www.worldofnumbers.com/threedigits.htm) have been recording and updating examples of these special square numbers since 1996, indicating that this field still needs to be explored. ### Research Objectives The main objective of this paper is to summarize the existing knowledge about "square numbers containing only three different digits" and add some new insights. Although most of the discussion focuses on the decimal system (\(B = 10\)), the paper also involves results in other bases. The research tools are completely based on elementary mathematical methods, and all statements are either fully proven or clearly marked as conjectures. ### Main Contents 1. **Calculation of Square Numbers**: It introduces how to calculate each digit of a square number. 2. **Infinite Patterns**: It explores the infinite patterns in square numbers containing only three different digits, including parametric families and construction methods. 3. **Feasible and Infeasible Three - Digit Combinations**: It analyzes which three - digit combinations are possible or impossible in square numbers. 4. **Acceptable Suffixes and Prefixes**: It discusses the prefix and suffix properties of square numbers that meet the conditions. 5. **Summary of Known Algorithms**: It briefly reviews the existing algorithms for enumerating such square numbers. Through these studies, the author hopes to reveal more about the mathematical structures and patterns of square numbers containing only three different digits, providing a basis for further research.