Combinatorial interpretation of certain family of continued fractions (as generating functions)
Imported on
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
-
and be an arbitrary functions with integer values defined for .
-
be an integer coefficients whose ordinary generating function is
-
be the number of paths of length steps from to on or above the -axis with steps , and , where the level steps at height have colors for , peaks at height have colors for and each anti-peak at height makes the same each different colors of some single peak for .
Note that we count peaks and anti-peaks as if there are no level steps .
I conjecture that .
Here is the PARI/GP program to compute :
f(n) = n+1
g(n) = n+1
rows_upto1(n) = {my(A = 1, x = 'x, y = 'y, v1);
forstep(j=n-1, 0, -1, A = 1 - f(j)*x - g(j)*x*y/A + x*O(x^n));
v1 = Vec(1/A);
v1 = vector(n+1, i, Vecrev(v1[i]))}
rows_upto2(n) = {my(x = 'x, v1, v2);
v1 = vector(n+1, i, 0); v1[1] = 1;
for(i=1, n, v1[i+1] = sum(j=0, i-1, f(j) + g(j)*x));
for(i=1, n-1, v2 = v1;
for(j=i+1, n, v1[j+1] = f(j-i-1)*(j>(i+1))*v2[j]
+ g(j-i-1)*x*v1[j+1] + if(j==(i+1), f(0), 1)*v1[j]));
v1 = vector(n+1, i, Vecrev(v1[i]))}
First function is straightforward and second one uses conjectured algorithm presented in one of my deleted questions. You might be interested in comparing their speeds.
As for the paths, I think their calculation can be implemented on PARI/GP, but I haven't figured out the details yet.
UPD1: ok, here is a complicated program:
f(n) = n+1
g(n) = n+1
rows_upto1(n) = {my(A = 1, x = 'x, y = 'y, v1);
forstep(j=n-1, 0, -1, A = 1 - f(j)*x - g(j)*x*y/A + x*O(x^n));
v1 = Vec(1/A);
v1 = vector(n+1, i, Vecrev(v1[i]))}
P(n,k) = {my(A, B, C, v1, v2, v3);
v1 = vector(3^(n+k), i, vector(n+k, j, ((i-1)\3^(j-1))%3)); v2 = [];
for(i=1, #v1, A = 0; B = 0;
if(sum(j=1, n+k, v1[i][j]==0) == sum(j=1, n+k, v1[i][j]==1)
&& sum(j=1, n+k, (v1[i][j]==0) + (v1[i][j]==2)) == n
&& sum(j=1, n+k, (A += (v1[i][j]==0)) >= (B += (v1[i][j]==1))) == (n+k),
v2 = concat(v2, [v1[i]])));
for(i=1, #v2, A = 0; B = 0; C = 1; v3 = [];
for(j=1, n+k, A += (v2[i][j]==0); B += (v2[i][j]==1);
if(v2[i][j]==2, C *= f(A-B), v3 = concat(v3, v2[i][j])));
A = 0; B = 0;
for(j=1, #v3, A += (v3[j]==0); B += (v3[j]==1);
if(v3[j]==0,
if(j>1 && v3[j-1]==1, C /= prod(q=0, A-B-2, g(q))),
if(v3[j-1]==0, C *= prod(q=0, A-B, g(q)))));
v2[i] = C);
vecsum(v2)}
rows_upto3(n) = my(v1); v1 = vector(n+1, i, vector(i, j, P(i-1,j-1)))
test(n) = rows_upto3(n) == rows_upto1(n)
Here I encode the steps as , then generate all ternary representations and discard all unnecessary ones. After that I count coloring for level steps and in parallel, I form vectors in which level steps are removed. Finally, I count coloring for peaks and anti-peaks.
With each subsequent , the size of the vectors increases, so that more and more memory is required. On my PC, I managed to get the first few results up to . To continue checking for large , it is necessary to radically rewrite the program in terms of generating paths. So far, I have no ideas in this direction.
Is there a way to prove it?
Statement and context adapted from MathOverflow · user231922
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.
Sources and original status
- MathOverflow Status in source : unanswered at collection
Last activity on the question :
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)