Skip to main content
QUICK REVIEW

[Paper Review] Regularity properties of the Stern enumeration of the rationals

Bruce Reznick|ArXiv.org|Oct 19, 2006
semigroups and automata theoryComputer Science11 references25 citations
TL;DR

This paper investigates the regularity properties of the Stern sequence, a recursive integer sequence that enumerates all positive rationals exactly once. It proves that the average ratio $ s(n)/s(n+1) $ is $ \frac{3}{2} $, and that the pair $ (s(n) \mod d, s(n+1) \mod d) $ is uniformly distributed over feasible residue classes modulo $ d $, with precise asymptotic density formulas for the frequency of values modulo $ d $.

ABSTRACT

The Stern sequence (s(n)) is defined by s(0) = 0, s(1) = 1, s(2n) = s(n), s(2n+1) = s(n) + s(n+1). Stern showed in 1858 that gcd(s(n),s(n+1)) = 1, and that for every pair of relatively prime positive integers (a,b), there exists a unique n so that s(n) = a and s(n+1) = b. We show that, in a strong sense, the average value of s(n)/s(n+1) is 3/2, and that for all d, (s(n),s(n+1)) is uniformly distributed among all feasible pairs of congruence classes modulo d. More precise results are presented for d = 2 and 3.

Motivation & Objective

  • To establish the average value of the ratio $ \frac{s(n)}{s(n+1)} $ in the Stern enumeration of positive rationals.
  • To investigate the distribution of consecutive pairs $ (s(n) \mod d, s(n+1) \mod d) $ modulo $ d \geq 2 $.
  • To derive exact asymptotic formulas for the counting function $ T(N;d,i) = \#\{n < N : s(n) \equiv i \pmod{d}\} $.
  • To analyze the special case $ d = 3 $, including exact formulas and bounds on the difference $ T(N;3,1) - T(N;3,2) $.
  • To explore deeper structural symmetries and recurrence patterns in the sequence modulo small integers, including conjectures on equality of counting functions for different moduli.

Proposed method

  • Uses the recursive definition $ s(0) = 0 $, $ s(1) = 1 $, $ s(2n) = s(n) $, $ s(2n+1) = s(n) + s(n+1) $ to generate the Stern sequence.
  • Applies generating functions and linear recurrences to analyze the distribution of $ s(n) \mod d $, particularly for $ d = 2 $ and $ d = 3 $.
  • Employs induction and structural analysis of the diatomic array to prove uniform distribution of $ (s(n) \mod d, s(n+1) \mod d) $ over $ \mathcal{S}_d $, the set of coprime residue pairs modulo $ d $.
  • Derives exact formulas for $ T(2^r; 3, 0) $ using the characteristic polynomial of a linear recurrence, yielding an $ \mathcal{O}(\sqrt{N}) $ error term.
  • Introduces the function $ \Delta(N) = T(N;3,1) - T(N;3,2) $ and proves it is bounded in $ \{0,1,2,3\} $, with exact values determined by the value of $ S_3(n) = (s(n) \mod 3, s(n+1) \mod 3) $.
  • Uses modular arithmetic and case analysis on the parity of $ n $ to prove that $ \Delta(2N) = \Delta(4N) $, enabling inductive proofs of distributional properties.

Experimental results

Research questions

  • RQ1What is the average value of $ \frac{s(n)}{s(n+1)} $ in the Stern enumeration of $ \mathbb{Q}_+ $?
  • RQ2How uniformly are the pairs $ (s(n) \mod d, s(n+1) \mod d) $ distributed over the set of coprime residue pairs modulo $ d $?
  • RQ3What is the asymptotic density $ r_{d,i} $ of integers $ n $ such that $ s(n) \equiv i \pmod{d} $?
  • RQ4For $ d = 3 $, what is the exact behavior of the difference $ T(N;3,1) - T(N;3,2) $?
  • RQ5Are there deeper structural equivalences between counting functions $ T(2^r; d_1, i) $ and $ T(2^r; d_2, i) $ for different moduli $ d_1, d_2 $?

Key findings

  • The average value of $ \frac{s(n)}{s(n+1)} $ is $ \frac{3}{2} $, with the sum $ \sum_{n=0}^{N-1} \frac{s(n)}{s(n+1)} = \frac{3N}{2} + \mathcal{O}(\log^2 N) $.
  • For each $ d \geq 2 $, the sequence $ (s(n) \mod d, s(n+1) \mod d) $ is uniformly distributed over $ \mathcal{S}_d $, the set of pairs $ (i,j) $ with $ \gcd(i,j,d) = 1 $.
  • The counting function $ T(N;d,i) $ satisfies $ T(N;d,i) = r_{d,i} N + \mathcal{O}(N^{\tau_d}) $ with $ \tau_d < 1 $, where $ r_{d,i} $ is explicitly given by a product formula involving the prime divisors of $ d $ and $ i $.
  • For $ d = 2 $, $ s(n) $ is even if and only if $ n \equiv 0 \pmod{3} $, and the error term in $ T(N;2,0) $ is $ \mathcal{O}(1) $, so $ \tau_2 = 0 $.
  • For $ d = 3 $, the difference $ \Delta(N) = T(N;3,1) - T(N;3,2) $ is bounded in $ \{0,1,2,3\} $, and its value depends only on $ S_3(n) = (s(n) \mod 3, s(n+1) \mod 3) $.
  • Exact formulas are derived for $ T(2^r;3,0) $, showing the $ \mathcal{O}(\sqrt{N}) $ error term is best possible, and the characteristic polynomial of the recurrence is $ T^3 - T^2 - 4 $ with roots $ 2, \mu, \bar{\mu} $.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.