A392406 · a(n) is the maximum possible number of extensions of a sequence of any n integers, where an extension is the runs-resistance of the sequence including all previous extensions.
Imported on
This entry contains a conjecture recorded in the OEIS. Its status has not been independently checked across the literature.
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
Conjecture: No other stopping criteria are necessary to ensure that any sequence will terminate, which also implies that a cycle with period > 1 will never appear.
Definitions and context
a(n) is the maximum possible number of extensions of a sequence of any n integers, where an extension is the runs-resistance of the sequence including all previous extensions.
First recorded terms: 6,5,5,7,9,13,15,17,19,21,23,25,27,29,31,33,35,37,39,42,45,48,51,54,57,60,63,66,69,72,75,78,81,84,87
Example from the source
An example of calculating the runs-resistance would be R((1,0,0)) = 3, since we have to apply the run-lengths operation three times to reach a singleton: (1,0,0) -> (1,2) -> (1,1) -> (2).
For n=2, the seed sequence s_n can be any two integers. While we obviously can't check every combination of two integers, we can make the cases we need to analyze finite by realizing, that all that matters to the runs-resistance is whether the two integers are equal or not. We therefore only need to consider s_n = (a,a) and s_n = (a,b), or aa and ab in short. We now calculate the first extension in either case: R(aa)=1 and R(ab)=2. With these extensions, we now have aa1 and ab2, and we would like to see how many such extensions we can make before the extensions become periodic (e.g., keeps repeating the same number forever). However, at this point (and this point only), we have to consider if a=1 and b=2, respectively, since this affects the calculation of run-lengths. This means that the number of cases we have to analyze doubles to 111 (a=1), aa1 (a!=1), a22 (b=2), and ab2 (b!=2). Extending these until they become periodic, we get 1s, aa134s, a22334s, and ab22454s, respectively, where an "s" means that the number just before it repeats forever. Since ab22454s is the longest, with 5 extensions to the seed sequence, we have a(2)=5.
Note: In the above case, it was sufficient to look at the seed sequences (a,a) and (a,b) in order to capture all possible seed sequences of length 2. To do the same for any n, we just need to realize that the image of the run-length encoding of sequences of length n is given by the compositions of n; for instance, for n=3, the only possible run-lengths of sequences of length 3 are (1,1,1), (1,2), (2,1), and (3), corresponding exactly to the compositions of n. These, in turn, correspond to the run-lengths of all the seed sequences we need to consider for n=3, namely (a,b,c), (a,b,b), (a,a,b), and (a,a,a), respectively.
The following table lists the first few terms and example sequences. "|" separates the seed sequence of n integers from its extensions.
n a(n) Example of longest possible sequence
1 6 a|0,2,2,4,5,4s
2 5 a,b|2,2,4,5,4s
3 5 a,b,c|2,2,4,5,4s
4 7 a,a,b,4|4,3,3,5,6,4,6s
5 9 a,b,c,c,5|5,3,5,3,5,5,6,5,6s
6 13 a,b,c,d,d,5|5,4,4,3,5,5,4,5,6,6,5,7,6s
7 15 a,b,c,d,d,d,5|5,5,4,4,4,3,5,5,4,5,6,6,5,7,6s
8 17 a,b,c,d,d,d,d,5|5,5,5,4,4,4,4,3,5,5,4,5,6,6,5,7,6s
9 19 a,b,c,d,d,d,d,d,5|5,5,5,5,4,4,4,4,4,3,5,5,4,5,6,6,5,7,6s
10 21 a,b,c,d,d,d,d,d,d,5|5,5,5,5,5,4,4,4,4,4,4,3,5,5,4,5,6,6,5,7,6s
Statement and context adapted from OEIS · Frederik G. Faye, Jan 10 2026
CC BY-SA 4.0 · Formatting adapted; mathematical formulas preserved · Source history
Sources and original status
- OEIS Status in source : conjecture recorded in OEIS
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)