Skip to content
m·amathatlas
ExploreAboutOpen problemsCited authorsMy libraryFeedback
Sign in
FRENES
Loading views…Recent views only, across all languages. Vercel history is unavailable for this page. Repeat visits in the same tab are grouped for 30 minutes.
ShareLinkedInXFacebookWhatsApp
← All open problems
Unanswered question

Occurrence of binary words in divisibility patterns

Number theory

Imported on November 28, 2026

The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.

Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.

Problem statement

Given an integer n≥1n \geq 1n≥1, let dn:N≥1→{0,1}d_n : \mathbb{N}_{\geq 1} \to \{0,1\}dn​:N≥1​→{0,1} be the coloring of the positive integers defined by dn(x)=1d_n(x) = 1dn​(x)=1 if x∣nx \mathbin{|} nx∣n and dn(x)=0d_n(x) = 0dn​(x)=0 otherwise. In other words, factors of nnn are colored with 111 and all other numbers with 000. In particular, there are a finite number of 111s.

Given a binary word w=w(0)w(1)⋯w(m−1)∈{0,1}mw = w(0) w(1) \cdots w(m-1) \in \{0,1\}^mw=w(0)w(1)⋯w(m−1)∈{0,1}m of some finite length m≥1m \geq 1m≥1, we say it occurs in dnd_ndn​ if there exists k≥1k \geq 1k≥1 such that for all 0≤i<m0 \leq i < m0≤i<m, dn(k+i)=w(i)d_n(k+i) = w(i)dn​(k+i)=w(i). For example, w=0110w = 0110w=0110 occurs in d20=1101100001000000000100⋯d_{20} = 1101100001000000000100\cdotsd20​=1101100001000000000100⋯ with k=3k = 3k=3. I'm interested in the minimal nnn for which a given www occurs in dnd_ndn​. Let's denote it by N(w)N(w)N(w).

My questions are the following:

  • What is the growth rate of max⁡{N(w)  ∣  w∈{0,1}m}\max \{ N(w) \;|\; w \in \{0,1\}^m \}max{N(w)∣w∈{0,1}m} in terms of mmm?

  • What is the growth rate of the average 2−m∑w∈{0,1}mN(w)2^{-m} \sum_{w \in \{0,1\}^m} N(w)2−m∑w∈{0,1}m​N(w) in terms of mmm?

For the first question, I can prove the following upper and lower bounds. Neither is likely to be optimal since number theory is not my strong point.

Proposition 1. For m≥1m \geq 1m≥1 and w∈{0,1}mw \in \{0,1\}^mw∈{0,1}m, we have N(w)<((C(m)⋅2mlog⁡2m)m+m)mN(w) < ((C(m) \cdot 2 m \log 2 m)^m + m)^mN(w)<((C(m)⋅2mlog2m)m+m)m with C(m)→1C(m) \to 1C(m)→1 as m→∞m \to \inftym→∞. In particular, N(w)N(w)N(w) always exists.

Proof. Denote the iiith prime by pip_ipi​. By the Chinese Remainder Theorem, there exists k≤∏i=0m−1pm+ik \leq \prod_{i = 0}^{m-1} p_{m+i}k≤∏i=0m−1​pm+i​ with k≡−i mod pm+ik \equiv -i \bmod p_{m+i}k≡−imodpm+i​ for each 0≤i<m0 \leq i < m0≤i<m. Let n=∏w(i)=1(k+i)n = \prod_{w(i) = 1} (k+i)n=∏w(i)=1​(k+i). Then www occurs in dnd_ndn​ with this choice of kkk, as each k+ik+ik+i is divisible by pm+ip_{m+i}pm+i​ but not pm+jp_{m+j}pm+j​ for any 0≤j<m0 \leq j < m0≤j<m, j≠ij \neq ij=i. The Prime Number Theorem implies pm+i<p2m=C(m)⋅2mlog⁡2mp_{m+i} < p_{2 m} = C(m) \cdot 2 m \log 2 mpm+i​<p2m​=C(m)⋅2mlog2m with C(m)→1C(m) \to 1C(m)→1. Then n≤(k+m)m<((C(m)⋅2mlog⁡2m)m+m)mn \leq (k+m)^m < ((C(m) \cdot 2 m \log 2 m)^m + m)^mn≤(k+m)m<((C(m)⋅2mlog2m)m+m)m. QED.

Proposition 2. For w=01m−1w = 0 1^{m-1}w=01m−1, we have N(w)≥(2mm)/2N(w) \geq \binom{2 m}{m}/2N(w)≥(m2m​)/2.

Proof. Suppose that www occurs in dnd_ndn​ at k≥1k \geq 1k≥1. Of course, k=1k = 1k=1 is impossible since w(0)=0w(0) = 0w(0)=0 and dn(1)=1d_n(1) = 1dn​(1)=1 for every nnn, so we must have k>1k > 1k>1. If k<mk < mk<m, then 2k<k+m2k < k+m2k<k+m, and hence dn(2k)=w(k−1)=1d_n(2k) = w(k-1) = 1dn​(2k)=w(k−1)=1, so that 2k2k2k divides nnn. But then kkk divides nnn, contradicting dn(k)=w(0)=0d_n(k) = w(0) = 0dn​(k)=w(0)=0. Hence k≥mk \geq mk≥m. Now, nnn is divisible by k+ik+ik+i for each 1≤i<m1 \leq i < m1≤i<m and hence their lowest common multiple. We have lcm(k+1,k+2,…,k+m−1)≥∏i=1m−1(k+i)(m−1)!≥(2m−1)!m!(m−1)!=12(2mm).\mathrm{lcm}(k+1, k+2, \ldots, k+m-1) \geq \frac{\prod_{i=1}^{m-1} (k+i)}{(m-1)!} \geq \frac{(2m-1)!}{m!(m-1)!} = \frac{1}{2} \binom{2 m}{m}.lcm(k+1,k+2,…,k+m−1)≥(m−1)!∏i=1m−1​(k+i)​≥m!(m−1)!(2m−1)!​=21​(m2m​). The first inequality follows from Theorem 2.3 of [1]. QED.

[1]: Bakir Farhi: Minorations non triviales du plus petit commun multiple de certaines suites finies d'entiers. Comptes Rendus Mathematique 341(8), 2005, pp. 469-474. https://doi.org/10.1016/j.crma.2005.09.019

Statement and context adapted from MathOverflow · Ilkka Törmä

CC BY-SA 4.0 · Formatting adapted; mathematical formulas preserved · Source history

A few useful definitions

Colouring
Assigning a colour to each element partitions a set into classes. A monochromatic pattern consists of elements of one colour. The statement specifies the rules and the patterns being sought.
Asymptotic behaviour
This studies a quantity as its parameter becomes large. Writing f(n) ∼ g(n) means that their ratio tends to 1, not that the functions are exactly equal.
Prime number
An integer greater than 1 whose only positive divisors are 1 and itself. Examples include 2, 3, 5 and 7.

Topics : nt.number-theory · asymptotics · divisors-multiples

Authors listed by the source : Ilkka Törmä

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : March 21, 2022

Coverage, sources and method

This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.

This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.

Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.

Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.

Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.

OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.

Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.

Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.

  • Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
  • Erdős Problems (teorth) · 622 · Apache-2.0
  • Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
  • OEIS · 18,857 · CC BY-SA 4.0
  • MathOverflow · 19,035 · CC BY-SA (version on each entry)
  • Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)
Report a development or correction
mathatlas

An independent atlas to understand, read, and question research.

The papers present claimed results at different stages of verification.
NewsletterShare feedbackAbout Data and privacy
Created by Sonny Mupfuni