2025-11-10T02:44:09.031770

Summing the sum of digits

Allouche, Stipulanti
We revisit and generalize inequalities for the summatory function of the sum of digits in a given integer base. We prove that several known results can be deduced from a theorem in a 2023 paper by Mohanty, Greenbury, Sarkany, Narayanan, Dingle, Ahnert, and Louis, whose primary scope is the maximum mutational robustness in genotype-phenotype maps.
academic

Summing the sum of digits

Basic Information

  • Paper ID: 2311.16806
  • Title: Summing the sum of digits
  • Authors: Jean-Paul Allouche (CNRS, IMJ-PRG, Sorbonne, Paris, France), Manon Stipulanti (FNRS, Department of Mathematics, University of Liège, Belgium)
  • Classification: math.NT (Number Theory), cs.DM (Discrete Mathematics), math.CO (Combinatorics)
  • Published Journal: Communications in Mathematics 33 (2025), no. 2, Paper no. 2
  • Paper Link: https://arxiv.org/abs/2311.16806

Abstract

This paper revisits and generalizes inequalities for the summatory function of digit sums in a given integer base. The authors demonstrate that multiple known results can be derived from a theorem in a 2023 paper by Mohanty et al., whose primary research scope concerns maximum mutation robustness in genotype-phenotype mapping.

Research Background and Motivation

  1. Research Problem: This paper investigates the summatory function of integer digit sums, namely the sum of digit sums of all integers less than or equal to a given integer—this "sum of sums" holds significant importance in mathematics.
  2. Problem Significance:
    • Digit sum functions have important applications in number theory, combinatorics, and fractal geometry
    • Closely related to the Takagi function (a fractal function continuous everywhere but differentiable nowhere) and the blancmange curve
    • Also has applications in seemingly unrelated biological fields (genotype-phenotype mapping)
  3. Limitations of Existing Methods:
    • Insufficient communication in the literature, with many researchers independently rediscovering similar results
    • Existing inequality results are scattered, lacking a unified theoretical framework
    • Certain special cases (such as the p=0 case in Allaart's results) lack literature support
  4. Research Motivation:
    • Unify various existing inequality results
    • Derive multiple classical results from the mathematical theorem discovered in Mohanty et al.'s biological research
    • Fill gaps in the literature, particularly the p=0 case of the Allaart inequality

Core Contributions

  1. Proved that Graham's result implies the p=0 case of Allaart's result, resolving an open problem posed by Allaart in 2011
  2. Proposed variations of Theorem 1.1 and two generalizations (Theorems 4.1, 4.2, 4.3), providing a unified framework for multiple known results
  3. Proved that multiple classical inequalities can be derived from Mohanty et al.'s Theorem 1.1, including Graham's inequality, Allaart-Cooper generalizations, etc.
  4. Established optimality results (Theorem 4.4), proving the tightness of certain generalized bounds
  5. Proposed multiple open problems, indicating directions for future research

Methodology Details

Task Definition

For a given integer base b≥2, define:

  • sb(n)s_b(n): the digit sum of integer n in base b
  • Sb(n):=1jn1sb(j)S_b(n) := \sum_{1≤j≤n-1} s_b(j): the summatory function of digit sums

The paper investigates inequalities satisfied by these functions.

Core Theorem

Theorem 1.1 (Mohanty et al., 2023): Let b be an integer ≥2, and n1,n2,...,nbn_1, n_2, ..., n_b be integers satisfying 0n1n2...nb0 ≤ n_1 ≤ n_2 ≤ ... ≤ n_b. Then: bi=1bSb(ni)+i=1b1(bi)niSb(i=1bni)b\sum_{i=1}^{b} S_b(n_i) + \sum_{i=1}^{b-1} (b-i)n_i ≤ S_b\left(\sum_{i=1}^{b} n_i\right)

Key Lemma

Lemma 2.1: For all integers b≥2 and n≥1: Sb(bn)=bSb(n)+b(b1)2nS_b(bn) = bS_b(n) + \frac{b(b-1)}{2}n

Main Generalizations

Theorem 4.2 (Generalization to r≤b): Let r∈1,b, n1...nrn_1≤...≤n_r. Then: i=1rSb(ni)+i=1r1(ri)niSb(i=1rni)\sum_{i=1}^{r} S_b(n_i) + \sum_{i=1}^{r-1} (r-i)n_i ≤ S_b\left(\sum_{i=1}^{r} n_i\right)

Theorem 4.3 (Alternative generalization form): Let m1...mrm_1≤...≤m_r. Then: Sb(m1+...+mr)+j=1r1Sb(mrmj)rSb(mr)j=1r1(br+j)mjS_b(m_1+...+m_r) + \sum_{j=1}^{r-1} S_b(m_r-m_j) - rS_b(m_r) ≤ \sum_{j=1}^{r-1} (b-r+j)m_j

Technical Innovations

  1. Unified Framework: Unifies seemingly different inequality results under a single theoretical framework
  2. Interdisciplinary Connection: Links biological research on mutation robustness with classical number-theoretic problems
  3. Optimality Analysis: Not only provides inequalities but also proves optimality in certain cases
  4. Constructive Proofs: Provides clear proof paths through specific parameter choices and transformations

Experimental Setup

Theoretical Verification

This paper is primarily theoretical, with results verified through mathematical proofs. Main verification methods include:

  1. Direct Derivation: Starting from Theorem 1.1, deriving known results through parameter settings
  2. Constructive Counterexamples: For optimality results, constructing specific counterexamples to prove the tightness of bounds
  3. Special Case Analysis: Verifying general results through specific parameter values

Specific Verification Cases

Derivation of Graham's Inequality:

  • Setting r=2 in Theorem 4.2 yields a generalization of Graham's inequality
  • Setting b=2 further yields the original Graham's inequality

Proof of Allaart p=0 Case:

  • Utilizing Graham's inequality and the identity in Lemma 2.1
  • Completing the proof through clever parameter transformation

Experimental Results

Main Results

  1. Graham→Allaart (p=0): Proved that for integers m,ℓ satisfying 0≤ℓ≤m: S2(m)+S2(m+)2S2(m)S_2(m-ℓ) + S_2(m+ℓ) - 2S_2(m) ≤ ℓ
  2. Unification of Multiple Classical Results:
    • Graham's inequality (1970)
    • Allaart-Cooper generalization (2011, 2022)
    • Allaart's ternary result (2014)
  3. Optimality Bounds: Theorem 4.4 proves that similar inequalities no longer hold when r>b, providing precise counterexamples.

Important Findings

  1. Cross-field Connection: Mathematical theorems arising from biological research on mutation robustness can unify multiple classical results in number theory
  2. Parameter Bounds: r≤b is the key condition ensuring the validity of inequalities
  3. Optimality: In certain cases, the provided bounds are tight and cannot be further improved

Historical Development

  1. Graham (1970): Earliest inequality in the binary case
  2. Delange (1975): Classical research on asymptotic formulas
  3. Allaart (2011, 2014): Generalizations to real parameters and arbitrary bases
  4. Cooper (2022): Reproof and generalization of Graham's result
  5. Mohanty et al. (2023): General theorem in biological context

Positioning of This Work

Building upon existing work, this paper:

  • Provides a unified theoretical framework
  • Fills gaps in the literature
  • Establishes cross-disciplinary connections
  • Provides optimality analysis

Conclusions and Discussion

Main Conclusions

  1. Proved that Mohanty et al.'s Theorem 1.1 can unify the derivation of multiple classical digit sum inequalities
  2. Resolved Allaart's open problem regarding the p=0 case
  3. Established optimality bounds for these inequalities
  4. Revealed deep connections between biological research and number-theoretic problems

Limitations

  1. Complete Generalization of Allaart Inequality: For the p≠0 case, a complete generalization remains elusive
  2. Certain Optimal Bounds: The bounds in Theorem 4.3, for instance, are not optimal
  3. Method Limitations: Primarily relies on specific parameter transformation techniques, which may be difficult to generalize to more general settings

Future Directions

The paper proposes 8 specific research questions:

  1. Generalize Theorem 1.2 to more general sequences
  2. Prove main results using different methods
  3. Seek "Graham-Allaart inequalities"
  4. Explore applications of binomial coefficients
  5. Generalize to other "block-counting functions"

In-Depth Evaluation

Strengths

  1. Theoretical Unification: Incorporates scattered results into a unified framework with strong theoretical value
  2. Interdisciplinary Perspective: Discovers mathematical theorem unification from biological research, demonstrating the universality of mathematics
  3. Completeness: Provides not only positive results but also optimality analysis and counterexamples
  4. Clear Writing: Logical clarity, detailed proofs, and ease of understanding and verification

Weaknesses

  1. Limited Applications: Primarily theoretical results with limited practical application value
  2. Limited Methodological Innovation: Mainly employs existing techniques with relatively limited methodological innovation
  3. Open Problems: Proposes multiple problems without resolution, revealing method limitations

Impact

  1. Theoretical Contribution: Provides new unified perspectives for digit sum theory
  2. Interdisciplinary Value: Demonstrates the universality of mathematics across different fields
  3. Subsequent Research: Provides clear directions and frameworks for future research

Applicable Scenarios

  1. Number Theory Research: Further research on digit sum functions
  2. Combinatorics: Related counting and inequality problems
  3. Fractal Geometry: Research related to the Takagi function
  4. Computer Science: Digital sequence analysis and algorithmic complexity

References

The paper cites 22 relevant references, spanning from Graham's pioneering work in 1970 to the latest research by Mohanty et al. in 2023, reflecting the complete development trajectory of the field. Particularly important references include:

  • Graham (1970): Foundational inequality results
  • Allaart (2011, 2014): Important generalization work
  • Mohanty et al. (2023): Core theoretical foundation of this paper