Stern Polynomials
- Stern polynomials are polynomial analogues of Stern's diatomic sequence, defined via dyadic recurrences that encode binary digital structure and combinatorial information.
- They feature generating functions, determinantal identities, and continued fractions that reveal deep arithmetic properties, zero distributions, and recurrence relations.
- Variants including univariate, bivariate, and base‑b refinements find applications in hyperbinary expansion analysis, recursive matrix methods, and transcendence theory.
Stern polynomials are polynomial analogues of Stern’s diatomic sequence, obtained by lifting the dyadic recurrences and to polynomial-valued families. In the literature, the term refers to several closely related constructions—notably the univariate sequence or , the Dilcher–Stolarsky polynomials , and multivariate or base- refinements—all of which retain a strong dependence on binary or -ary digital structure and support connections to hyperbinary expansions, continued fractions, complex zeros, reciprocity, automaticity, and algebraic independence (Ulas et al., 2011, Vargas, 2012, Wakhare et al., 2018, Altizio, 5 Nov 2025).
1. Foundational definitions and principal variants
The classical Stern diatomic sequence is defined by
Its polynomial analogues preserve this dyadic structure while introducing one or more variables. The most standard univariate family in the arithmetic literature is
and the same recurrence also appears in the notation (Ulas et al., 2011, Gawron, 2014, Altizio, 5 Nov 2025).
A second important univariate family, introduced by Dilcher and Stolarsky, is
0
with 1. This family is characterized by the fact that every coefficient is 2 or 3 (Vargas, 2012, Duverney et al., 26 Mar 2026).
The literature also contains a bivariate refinement
4
and an arbitrary-base generalization 5 whose recurrences encode hyper 6-ary expansions (Spiegelhofer, 2016, Wakhare et al., 2018).
| Family | Recurrence | Specialization |
|---|---|---|
| 7, 8 | 9, 0 | 1, 2 |
| 3 | 4, 5 | 6 |
| 7 | 8, 9 | 0 |
| 1 | 2-ary recursion in the variables 3 | 4 |
For the univariate family 5, evaluating at 6 recovers the classical Stern sequence, and the literature also notes simple special values such as 7 (Altizio, 5 Nov 2025). For 8, explicit formulas at indices near powers of two include
9
2. Combinatorial interpretations
A central feature of Stern polynomials is that their coefficients encode refined counting data for hyperbinary expansions. For the univariate family 0, if
1
then the coefficient 2 counts the number of hyperbinary representations of 3 using exactly 4 digits equal to 5 (Ulas, 2019). This makes 6 a generating polynomial for the distribution of hyperbinary representations by the number of 7-digits.
This coefficient interpretation admits a signed-digit reformulation. If 8 denotes the number of 9-bit binary signed-digit representations of 0 having exactly 1 zeros, then
2
Consequently, the leading coefficient of 3 is the number of optimal BSD representations of 4, and 5 is the number of zeros in the reduced NAF of 6 (Monroe, 2021).
The bivariate refinement 7 records different statistics on hyperbinary expansions. The coefficient
8
is the number of hyperbinary expansions of 9 having exactly 0 digits equal to 1 and 2 digits equal to 3. Thus
4
packages the joint distribution of hyperbinary expansions by numbers of 5’s and 6’s (Spiegelhofer, 2016).
The ordinary Stern sequence itself can also be represented polynomially through generalized Chebyshev polynomials. If an odd integer 7 has binary gap encoding 8, then
9
where 0 is defined recursively by
1
An equivalent determinant formula is
2
with 3 tridiagonal (Angelis, 2015). This places Stern-type recurrences in the same framework as generalized Chebyshev polynomials and tridiagonal determinants.
3. Structural identities, degree theory, and arithmetic phenomena
The arithmetic theory of the univariate family 4 is dominated by exact dyadic identities. Among the basic formulas are
5
together with the symmetry theorem
6
A further determinantal identity,
7
implies in particular that 8 for every 9 (Ulas et al., 2011).
The degree sequence
0
satisfies
1
Its distribution is unusually rigid: the generating function
2
implies that the number of indices 3 such that 4 is exactly 5. On dyadic intervals 6, one has
7
and runs of equal degrees can have length 8 but never 9 (Ulas et al., 2011).
A second invariant is the order at the origin,
0
It satisfies
1
hence
2
where 3 is the largest power of 4 dividing 5. The map 6 is onto 7 (Ulas, 2011).
The rational-root problem has a complete answer: if 8 and 9 for some positive integer 00, then
01
Each of these four values occurs as a root of infinitely many Stern polynomials. The same work gives complete characterizations of the indices satisfying 02 and 03, and constructs infinite families of reciprocal Stern polynomials, with
04
for
05
(Gawron, 2014).
Further arithmetic rigidity appears in congruence problems. For fixed 06 and 07, the congruence
08
forces all positive-degree coefficients to be congruent modulo 09. Infinite non-trivial families are proved for 10 with 11 and for 12 with 13 (Ulas, 2019).
4. Zeros in the complex plane and irreducibility
The complex zero set of Stern polynomials has been studied for more than one univariate model. For the Klavžar-type family 14, Dilcher, Kidwai, and Tomkins conjectured that if 15 denotes the set of all zeros, then
16
Partial progress toward this half-plane conjecture establishes the zero-free region
17
Equivalently, no Stern polynomial has a root in the closed disk centered at 18 with radius 19 (Altizio, 5 Nov 2025).
The proof proceeds through continued fractions. Schinzel’s formula expresses certain ratios of Stern polynomials as continued fractions with coefficients built from the geometric-series polynomials
20
The critical step is to show that, for 21 in the disk 22, the continued-fraction elements
23
lie in a parabolic region 24, so that the Parabola Theorem for convergence of generalized continued fractions applies. The denominator 25 therefore cannot vanish (Altizio, 5 Nov 2025).
This zero-free disk has an arithmetic consequence. If 26 is a positive prime, then
27
The argument uses 28 together with the zero-free theorem to exclude nonconstant factors evaluating to 29 at 30 (Altizio, 5 Nov 2025).
For the Dilcher–Stolarsky family 31, the asymptotic zero distribution is different in form but comparably rigid. If 32 counts zeros in an angular sector and 33 counts zeros in the annulus
34
then explicit Erdős–Turán and Hughes–Nikeghbali bounds show angular equidistribution and radial concentration near 35. In particular, almost all zeros lie close to the unit circle, and their arguments become asymptotically equidistributed (Vargas, 2012).
The same analysis isolates a real zero phenomenon. The only Stern polynomials of odd degree in this model are 36, and each such polynomial has a unique real zero in 37 (Vargas, 2012).
5. Generating functions, matrices, and analytic limits
The recursive definition of Stern polynomials admits compact generating-function formulations. For the standard univariate family,
38
has the product expansion
39
From this one obtains summation identities such as
40
and
41
The arbitrary-base generalization 42 satisfies the product formula
43
which encodes hyper 44-ary expansions by multiplicity. The same theory also yields a matrix realization: if 45, then
46
for explicit digit-dependent 47 matrices 48 (Wakhare et al., 2018).
A different matrix construction is built directly from the coefficients of the Dilcher–Stolarsky polynomials 49. The resulting infinite lower-triangular matrix 50 has inverse 51 with entries only in 52, and
53
The sign pattern is determined by the Prouhet–Thue–Morse sequence: 54 This matrix formalism also leads to identities involving Stern, Fibonacci, Padovan, Catalan, Fine, and Gould sequences (Beck et al., 2021).
The analytic theory of subsequences is equally distinctive. For any binary sequence 55, the Dilcher–Stolarsky polynomials
56
converge, for every fixed 57, to the same analytic function 58 on the open unit disk. There are uncountably many such limit functions, each represented by a power series with coefficients in 59 (Vargas, 2012).
In a more recent Mahler-theoretic development, Dilcher–Eriksen subsequences of Type 1 Stern polynomials give rise to limit functions 60 satisfying a two-term functional equation and an infinite continued fraction. For any algebraic number 61 with 62, the values
63
are algebraically independent. As a consequence,
64
is transcendental for every such 65 (Duverney et al., 26 Mar 2026).
6. Symmetry, generalization, and related applications
Digit symmetry is one of the most striking refinements of the Stern framework. If 66 is obtained by reversing the binary expansion of 67, then the bivariate Stern polynomials satisfy
68
This extends Dijkstra’s digit-reversal property for the Stern sequence 69 and implies the coefficientwise symmetry
70
for the hyperbinary statistics encoded by 71 (Spiegelhofer, 2016).
The arbitrary-base theory replaces hyperbinary expansions by hyper 72-ary expansions and the binary Stern recursion by 73-ary recurrences. Its extremal indices are
74
which satisfy
75
At these indices the polynomials obey Fibonacci-type recurrences and admit continued-fraction representations that specialize, when 76, to continued fractions converging to the golden ratio 77 (Wakhare et al., 2018).
The connection with signed-digit arithmetic provides a computational application. On the NAF-interval
78
the degree and leading coefficient recursions for 79 translate into recursions for the number 80 of zeros in an optimal BSD representation and the number 81 of optimal BSD representations. This leads to two 82 algorithms, one computing 83 for every 84 and one computing 85 for every 86 (Monroe, 2021).
A broader implication of these developments is that Stern polynomials occupy a common research interface between digital combinatorics, recursive algebra, continued fractions, analytic function theory, and arithmetic geometry. The univariate, multivariate, and 87-ary variants differ in detail, but they consistently exhibit the same underlying phenomenon: dyadic or 88-adic recursion is strong enough to control coefficients, degrees, special values, zeros, and, in several cases, transcendence and irreducibility (Angelis, 2015, Monroe, 2021, Altizio, 5 Nov 2025).