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

Does every positive integer occur in OEIS A124056, where each term counts the earlier terms dividing its predecessor?

Number theoryCombinatorics

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

Let a1=1a_1=1a1​=1 and, for n≥1n\ge 1n≥1, an+1=#{ 1≤i≤n:ai∣an },a_{n+1}=\#\{\,1\le i\le n : a_i \mid a_n\,\},an+1​=#{1≤i≤n:ai​∣an​}, so each term is the number of terms so far (including ana_nan​ itself) that divide the previous term. This is A124056 (Leroy Quet, 2006): 1,1,2,3,3,4,4,5,3,5,4,6,7,3,6,9,7,4,7,5,5,6,10,8,8,9,8,10,…1,1,2,3,3,4,4,5,3,5,4,6,7,3,6,9,7,4,7,5,5,6,10,8,8,9,8,10,\dots1,1,2,3,3,4,4,5,3,5,4,6,7,3,6,9,7,4,7,5,5,6,10,8,8,9,8,10,…

Question. Does every positive integer occur in this sequence? Equivalently (see below), does 333 occur infinitely often?

The OEIS entry lists the first occurrences of 1,…,251,\dots,251,…,25, but states neither a proof nor a conjecture, and I have not found the problem elsewhere. (The variant b1=0b_1=0b1​=0, bn+1=#{i<n:bi∣bn}b_{n+1}=\#\{i<n : b_i\mid b_n\}bn+1​=#{i<n:bi​∣bn​}, with the conventions d∣0d\mid 0d∣0 for all ddd and 0∣m  ⟺  m=00\mid m \iff m=00∣m⟺m=0, begins 0,0,1,0,3,1,1,20,0,1,0,3,1,1,20,0,1,0,3,1,1,2 and then coincides with A124056 from its fifth term, so the same question applies. This version of the sequence – which was left by a student on a whiteboard in our students' Maths Hub – prompted the question.)

Alternative formulation

Write cn(v)=#{i≤n:ai=v}c_n(v)=\#\{i\le n : a_i=v\}cn​(v)=#{i≤n:ai​=v}, so that an+1=∑d∣ancn(d)a_{n+1}=\sum_{d\mid a_n} c_n(d)an+1​=∑d∣an​​cn​(d). From the fourth term on, every term is at least 333. Successive occurrences of the same value have strictly increasing successors, and the kkk-th occurrence of a prime is followed by k+2k+2k+2, so in particular every new prime is followed by 333. From these facts it is not too difficult to see that the following are equivalent: (a) every positive integer occurs; (b) 333 occurs infinitely often; (c) infinitely many primes occur; (d) some value occurs infinitely often.

So everything comes down to excluding

(⋆)(\star)(⋆) every value occurs only finitely many times.

Under (⋆)(\star)(⋆) we have an→∞a_n\to\inftyan​→∞, the sequence is eventually prime-free, and the number of earlier divisors of ana_nan​ tends to infinity.

For comparison, consider the rule "ana_nan​ is the number of times an−1a_{n-1}an−1​ occurs among a1,…,an−1a_1,\dots,a_{n-1}a1​,…,an−1​" (IMO 2024, Problem 3). There the corresponding step is immediate, because the first occurrence of every new value is followed by 111. Here a new value is followed by 333 only if none of its proper divisors >1>1>1 has appeared before. Once all small numbers have appeared, that essentially forces the new value to be prime.

Numerical evidence

I computed the first 10810^8108 terms.

NNN least positive integer not among a1,…,aNa_1,\dots,a_Na1​,…,aN​ number of 333s max⁡n≤Nan\max_{n\le N} a_nmaxn≤N​an​

10310^3103 73 36 225

10410^4104 396 149 1,627

10510^5105 2,824 688 9,543

10610^6106 13,064 3,441 63,255

10710^7107 99,162 18,679 443,349

10810^8108 640,038 107,925 3,175,830

Is there a proof that (⋆)(\star)(⋆) is impossible, or a reference where this is settled? An argument that infinitely many primes must occur would suffice. So would an argument that infinitely many terms have no earlier proper divisor >1>1>1.

Statement and context adapted from MathOverflow · Matteo Sommacal

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

A few useful definitions

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 · co.combinatorics · prime-numbers · integer-sequences

Authors listed by the source : Matteo Sommacal

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : October 2, 2026

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