alphaFeedback

WorksMathematics

The Mesirov-Sweet property over F_2 up to degree 33, with two quotients of degree two up to degree 28

AI contributions
  • Anthropic Claude Opus
View details

Abstract

For a monic polynomial g in F_2[T] of degree d, the conjecture of Mesirov and Sweet asserts that there is f in F_2[T], coprime to g with deg f < d, such that every partial quotient of the continued fraction of f/g has degree at most 2. We check by exhaustive computation that this holds for every g of degree at most 33. We also check that for every g of degree at most 28 one can choose f so that all partial quotients are linear except at most two, which have degree 2. The computations combine exhaustive enumeration of fixed degree patterns, explicit certificates for the polynomials not reached by the patterns, and two separately written enumeration programs whose outputs coincide bit for bit. All programs are provided.

Statements

For a1,…,ar∈F2[T]a_1,\ldots,a_r \in\mathbb{F}_2[T] let K(a1,…,ar)K(a_1,\ldots,a_r) denote the continuant, so that

[0;a1,…,ar]=K(a2,…,ar)K(a1,…,ar)[0;a_1,\ldots,a_r] = \frac{K(a_2,\ldots,a_r)}{K(a_1,\ldots,a_r)}

in lowest terms.

Every pair (f,g)(f,g) with gg monic, gcd⁡(f,g)=1\gcd(f,g)=1 and deg⁡f<deg⁡g\deg f < \deg g arises from exactly one sequence of non-constant quotients, and deg⁡g=∑ideg⁡ai\deg g = \sum_i \deg a_i.

Conjecture 1 (Mesirov–Sweet [2]; [1 Conj. 3.6]). For every monic g∈F2[T]g \in\mathbb{F}_2[T] of degree d≥1d \ge1 there is ff with gcd⁡(f,g)=1\gcd(f,g)=1, deg⁡f<d\deg f < d, such that all partial quotients of f/gf/g have degree ≤2\le2.

The bound 2 cannot be lowered: T2+TT^2+T has no admissible ff with linear quotients only. For irreducible gg Mesirov and Sweet proved that all quotients can be taken linear [2]; for general gg the best known bound grows like log⁡d\log d [3]. For an admissible gg let k(g)k(g) be the least number of quotients of degree 2 among the ff of Conjecture 1.

Theorem 1 (verified by computation). Conjecture 1 holds for every monic g∈F2[T]g \in\mathbb{F}_2[T] with 1≤deg⁡g≤331 \le\deg g \le33.

Theorem 2 (verified by computation). For every monic g∈F2[T]g \in\mathbb{F}_2[T] with 1≤deg⁡g≤281 \le\deg g \le28 one has k(g)≤2k(g) \le2.

Theorem 2 gives Theorem 1 for d≤28d \le28; the degrees 29≤d≤3329 \le d \le33 are treated separately. Table 2 records the number of gg with k(g)=2k(g)=2.

Method

Cells

Cells. A cell is a finite sequence π=(e1,…,er)\pi=(e_1,\ldots,e_r) with ei∈{1,2}e_i \in\{1,2\} and ∑ei=d\sum e_i=d. Since every polynomial of degree ee over F2\mathbb{F}_2 is monic, the cell carries exactly ∏i2ei=2d\prod_i 2^{e_i}=2^d quotient sequences, and we write Iπ⊆F2[T]I_\pi\subseteq\mathbb{F}_2[T] for the set of their continuants. The pure cell (1,…,1)(1,\ldots,1) is the one of Mesirov and Sweet; k(g)≤jk(g) \le j if and only if gg lies in IπI_\pi for some cell with at most jj entries equal to 2.

Two enumerations

Two enumerations. Program A runs through each cell depth first, appending quotients on the right and updating the pair (K(a1,…,ai),K(a1,…,ai−1))(K(a_1,\ldots,a_i), K(a_1,\ldots,a_{i-1})). Program B was written separately: it runs through the same sequences in a different order (the first quotient varies fastest) and evaluates the continuants by the recurrence in the opposite direction. Both mark the images in a bitmap indexed by the dd low coefficients of gg.

Certificates

Certificates. For the gg outside the union of the cells, an explicit ff is produced and then checked by a third program, which runs the Euclidean algorithm on (g,f)(g,f) from scratch and verifies deg⁡g=d\deg g=d, deg⁡f<d\deg f<d, that every quotient has degree 1 or 2 (and, for Theorem 2, that at most two have degree 2), and that the last non-zero remainder is 1.

Search for certificates

Search for certificates. For gg outside the union of the cells, ff is searched for by a meet-in-the-middle procedure resting on two classical identities: for 1≤j<r1\leq j<r,

K(a1,…,ar)=K(a1,…,aj)K(aj+1,…,ar)+K(a1,…,aj−1)K(aj+2,…,ar),K(a_1,\ldots,a_r)=K(a_1,\ldots,a_j)K(a_{j+1},\ldots,a_r)+K(a_1,\ldots,a_{j-1})K(a_{j+2},\ldots,a_r),

and, in characteristic 2,

K(a1,…,aj)K(a2,…,aj−1)+K(a1,…,aj−1)K(a2,…,aj)=1.K(a_1,\ldots,a_j)K(a_2,\ldots,a_{j-1})+K(a_1,\ldots,a_{j-1})K(a_2,\ldots,a_j)=1.

Fix a cut degree cc (c=17c=17 for d=33d=33, c=⌊d/2⌋c=\lfloor d/2\rfloor for 29≤d≤3229\leq d\leq32) and a random sample of 2202^{20} prefixes (a1,…,aj)(a_1,\ldots,a_j) with ∑i≤jdeg⁡ai=c\sum_{i\leq j}\deg a_i=c and all degrees in {1,2}\{1,2\}. For each prefix put q=K(a1,…,aj)q=K(a_1,\ldots,a_j), q′=K(a1,…,aj−1)q'=K(a_1,\ldots,a_{j-1}), ρ=K(a2,…,aj)\rho=K(a_2,\ldots,a_j), ρ′=K(a2,…,aj−1)\rho'=K(a_2,\ldots,a_{j-1}). The second identity gives q′ρ≡1(modq)q'\rho\equiv1\pmod q, so a suffix with V=K(aj+2,…,ar)V=K(a_{j+2},\ldots,a_r) of degree <c<c must be V=gρ(modq)V=g\rho\pmod q, and then U=K(aj+1,…,ar)=(g−q′V)/qU=K(a_{j+1},\ldots,a_r)=(g-q'V)/q. The candidate is kept when deg⁡U=d−c\deg U=d-c and the Euclidean algorithm on (U,V)(U,V) produces quotients of degree 1 or 2 only and ends with 1; then f=ρU+ρ′Vf=\rho U+\rho'V. If the sample fails, all prefixes at the cuts cc and c+1c+1 are tried. Certificates are accepted only after the independent check described above, so the search needs no correctness argument of its own.

Results

Theorem 1. For each d∈{29,…,33}d\in\{29,\ldots,33\} ten cells with four entries equal to 2 were drawn at random (they are listed in the ancillary files). Table 1 gives the size of the complement of their union and the outcome of the certificate search. Programs A and B produced identical bitmaps for every dd, and every certificate passed the independent check. Together with Theorem 2, this gives Conjecture 1 for every d≤33d\leq33.

ddnot reached by the cellssharefallback searchescertificates rejectedA=B
292 015 1900.375%00yes
304 020 2190.374%00yes
318 051 8600.375%00yes
3216 187 2060.377%00yes
3332 430 3060.378%00yes

Table 1. Ten random cells with four entries 2 per degree; every gg outside their union received a certificate.

Theorem 2. For d≤5d\leq5 every gg has k(g)≤1k(g)\leq1. For 6≤d≤286\leq d\leq28, program A covers all 2d2^d polynomials with the cells having at most two entries equal to 2. The set L1(d)L_1(d) of polynomials not reached by the cells with at most one entry equal to 2 was computed by A and by B, with identical results, and B produced for each g∈L1(d)g\in L_1(d) an ff with exactly two quotients of degree 2, accepted by the independent check. Since ∣L1(d)∣=#{g:k(g)=2}|L_1(d)|=\#\{g:k(g)=2\}, the counts in Table 2 are exact.

Remark 1. The share of gg with k(g)=2k(g)=2 decreases for 12≤d≤2812\leq d\leq28, from 0.0269 to 0.0065, and the ratio #{g:k(g)=2}\#\{g:k(g)=2\} between consecutive even degrees is close to 3.27 for 22≤d≤2822\leq d\leq28.

Question. Is k(g)≤2k(g)\leq2 for every monic g∈F2[T]g\in\mathbb{F}_2[T]? An affirmative answer implies Conjecture 1.

dd#{g:k(g)=2}\#\{g : k(g) = 2\}sharedd#{g:k(g)=2}\#\{g : k(g) = 2\}share
100.0000157560.0231
200.0000161 3640.0208
300.0000172 5240.0193
400.0000184 5820.0175
500.0000198 3220.0159
630.04692014 9740.0143
740.03122127 4400.0131
840.01562250 0690.0119
9160.03122390 0760.0107
10190.018624163 5990.0098
11480.023425295 9160.0088
121100.026926535 1990.0080
132160.026427967 9560.0072
144190.0256281 748 4700.0065

Table 2. Number of monic gg of degree dd with k(g)=2k(g) = 2; all other gg have k(g)≤1k(g) \le1.

Ancillary files

The folder anc contains: c_sources.py, which writes out the C sources of programs A and B, of the certificate search, of the checker and of the small-degree enumeration, together with the run scripts and a description of the file formats; the cell lists cells_d29.csv, . . . , cells_d33.csv; the logs of the runs; and verif_ms_f2.py (Python with numpy only), which repeats the exhaustive computation of the counts #{g:k(g)=j}\#\{g : k(g) = j\}, j=0,1,2j = 0,1,2, in degree 18, 20 or 22 (according to a memory budget set in the file) and checks the samples certs_d28_two_insertions.csv and certs_d33_sample.csv of 10510^{5} certificates each, together with a control on corrupted certificates. Polynomials are written as integers whose binary digits are their coefficients.

ORCID 0009-0009-1526-1178

References

  1. [1]A. G. B. Lauder, Continued fractions and sequences, PhD thesis, University of London, 1999.
  2. [2]J. P. Mesirov and M. M. Sweet, Continued fraction expansions of rational expressions with irreducible denominators in characteristic 2, J. Number Theory 27 (1987), 144–148.DOI
  3. [3]H. Niederreiter, Rational functions with partial quotients of small degree in their continued fraction expansion, Monatsh. Math. 103 (1987), 269–288.DOI

Paper details

vlnc:W_esdr4zkp
v1 · latestHistory (1)

published · Fresh — published within the last 30 days

Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY 4.0

Original source

  • Mathematics

Anthropic Claude Opus · View statement →

Looking for related papers…
Contents