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

Combinatorial interpretation of certain family of continued fractions (as generating functions)

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

  • f(n)f(n)f(n) and g(n)g(n)g(n) be an arbitrary functions with integer values defined for n⩾0n \geqslant 0n⩾0.

  • T(n,k)T(n,k)T(n,k) be an integer coefficients whose ordinary generating function is 11−f(0)x−g(0)xy1−f(1)x−g(1)xy1−f(2)x−g(2)xy⋱.\cfrac{1}{1-f(0)x-\cfrac{g(0)xy}{1-f(1)x-\cfrac{g(1)xy}{1-f(2)x-\cfrac{g(2)xy}{\ddots}}}}.1−f(0)x−1−f(1)x−1−f(2)x−⋱g(2)xy​g(1)xy​g(0)xy​1​.

  • P(n,k)P(n,k)P(n,k) be the number of paths of length n+kn + kn+k steps from (0,0)(0,0)(0,0) to (2n,0)(2n,0)(2n,0) on or above the xxx-axis with steps U=(1,1),D=(1,−1)U = (1,1), D = (1,-1)U=(1,1),D=(1,−1), and L=(2,0)L = (2,0)L=(2,0), where the level steps LLL at height mmm have f(m)f(m)f(m) colors for m⩾0m \geqslant 0m⩾0, peaks at height mmm have ∏i=0m−1g(i)\prod\limits_{i=0}^{m-1} g(i)i=0∏m−1​g(i) colors for m⩾0m \geqslant 0m⩾0 and each anti-peak at height mmm makes the same each ∏i=0m−1g(i)\prod\limits_{i=0}^{m-1} g(i)i=0∏m−1​g(i) different colors of some single peak for m⩾0m \geqslant 0m⩾0.

Note that we count peaks and anti-peaks as if there are no level steps LLL.

I conjecture that P(n,k)=T(n,k)P(n,k) = T(n,k)P(n,k)=T(n,k).

Here is the PARI/GP program to compute T(n,k)T(n,k)T(n,k):

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 {U,D,L}→{0,1,2}\{U,D,L\} \to \{0,1,2\}{U,D,L}→{0,1,2}, then generate all ternary representations and discard all unnecessary ones. After that I count coloring for level steps LLL and in parallel, I form vectors in which level steps LLL are removed. Finally, I count coloring for peaks and anti-peaks.

With each subsequent nnn, 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 n=6n = 6n=6. To continue checking for large nnn, 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.

Topics : nt.number-theory · co.combinatorics · sequences-and-series · generating-functions · continued-fractions

Authors listed by the source : user231922

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : April 13, 2025

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