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

Searching for a proof of the pattern and identification of integer coefficients for the A329369

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

Please see the update given below. Everything you need to know from the old version of the question are the functions a(n),ℓ(n),s(n),t(n),r(n)a(n), \ell(n), s(n), t(n), r(n)a(n),ℓ(n),s(n),t(n),r(n).

  • Let a(n)a(n)a(n) be A329369 (i.e, number of permutations of 1,2,...,m{1,2,...,m}1,2,...,m with excedance set constructed by taking m−im-im−i (0<i<m0 < i < m0<i<m) if b(i−1)=1b(i-1) = 1b(i−1)=1 where b(k)b(k−1)⋯b(1)b(0)b(k)b(k-1)\cdots b(1)b(0)b(k)b(k−1)⋯b(1)b(0) (0⩽k<m−10 \leqslant k < m-10⩽k<m−1) is the binary expansion of nnn). Here
a(2m(2k+1))=∑j=0m(m+1j)a(2jk),a(0)=1a(2^m(2k+1)) = \sum\limits_{j=0}^{m}\binom{m+1}{j}a(2^jk), \\ a(0) = 1a(2m(2k+1))=j=0∑m​(jm+1​)a(2jk),a(0)=1
  • Let
ℓ(n)=⌊log⁡2n⌋,ℓ(0)=−1\ell(n) = \left\lfloor\log_2 n\right\rfloor, \\ \ell(0) = -1ℓ(n)=⌊log2​n⌋,ℓ(0)=−1

Let s(n)s(n)s(n) be A090996 (i.e., number of leading 111's in binary expansion of nnn). Here s(n)=ks(n)=ks(n)=k for n=2k−1n=2^k-1n=2k−1, s(n)=s(⌊n2⌋)s(n)=s\left(\left\lfloor\frac{n}{2}\right\rfloor\right)s(n)=s(⌊2n​⌋) otherwise.

Let t(n)t(n)t(n) be be A087734. Here

t(n)=2t(⌊n2⌋)+n mod 2−[n=2k−1],t(0)=t(1)=0t(n) = 2t\left(\left\lfloor\frac{n}{2}\right\rfloor\right) + n\bmod 2 - [n = 2^k - 1], \\ t(0) = t(1) = 0t(n)=2t(⌊2n​⌋)+nmod2−[n=2k−1],t(0)=t(1)=0

Here square bracket denotes Iverson bracket.

  • Let r(n)r(n)r(n) be A279209 (i.e., length of first run of 000's in binary expansion of nnn).

To explain the relationship between these three sequences, it can be noted that

n=t(n)+(2s(n)−1)2r(n)+ℓ(t(n))+1n = t(n) + (2^{s(n)}-1)2^{r(n)+\ell(t(n))+1}n=t(n)+(2s(n)−1)2r(n)+ℓ(t(n))+1

Here the sequences are unique as a solution with the condition that t(n)t(n)t(n) is minimal.

  • Let b(n)b(n)b(n) be an integer sequence such that (conjecturally) it can be represented using some unknown integer coefficient L(n,k,m)L(n, k, m)L(n,k,m) defined for n>0,0⩽k<n,1⩽m⩽(k+1)n > 0, 0 \leqslant k < n, 1 \leqslant m \leqslant (k+1)n>0,0⩽k<n,1⩽m⩽(k+1), namely b(n)=1b(n) = 1b(n)=1 for n=2k−1n=2^k-1n=2k−1, b(n)=p(r(n),s(n)+1)b(n) = p(r(n), s(n)+1)b(n)=p(r(n),s(n)+1) otherwise. Here p(n,k)=kp(n−1,k)+p(n−1,k−1)p(n, k) = kp(n-1, k) + p(n-1, k-1)p(n,k)=kp(n−1,k)+p(n−1,k−1) for n>0,1<k⩽(s(n)+1)n > 0, 1 < k \leqslant (s(n) + 1)n>0,1<k⩽(s(n)+1) with
p(0,k)=∑i=1kb(t(n)+(2i−1−1)2ℓ(t(n))+1)L(s(n),k−1,i)p(0, k) = \sum\limits_{i=1}^{k} b(t(n) + (2^{i-1} - 1)2^{\ell(t(n))+1})L(s(n), k-1, i)p(0,k)=i=1∑k​b(t(n)+(2i−1−1)2ℓ(t(n))+1)L(s(n),k−1,i)

for 1⩽k⩽s(n)1 \leqslant k \leqslant s(n)1⩽k⩽s(n) with p(0,s(n)+1)=b(t(n)+(2s(n)−1)2ℓ(t(n))+1)p(0, s(n)+1) = b(t(n) + (2^{s(n)} - 1)2^{\ell(t(n))+1})p(0,s(n)+1)=b(t(n)+(2s(n)−1)2ℓ(t(n))+1) and p(n,1)=p(0,1)p(n, 1) = p(0,1)p(n,1)=p(0,1).

  • Note that (conjecturally) L(n,k,m)L(n, k, m)L(n,k,m) can be represented as
L(n,k,m)=(n−k)!(2n−k−m+1)!(∏i=0n−m+1(m+i))(∑i=0n−k−1miW(n−k,k+1,i+1))L(n, k, m) = \frac{(n-k)!}{(2n-k-m+1)!}\left(\prod\limits_{i=0}^{n-m+1} (m+i)\right)\left(\sum\limits_{i=0}^{n-k-1} m^iW(n-k, k+1, i+1)\right)L(n,k,m)=(2n−k−m+1)!(n−k)!​(i=0∏n−m+1​(m+i))(i=0∑n−k−1​miW(n−k,k+1,i+1))

Here W(n,k,m)W(n, k, m)W(n,k,m) are some unknown integer coefficients defined for n>0,k⩾0,1⩽m⩽nn > 0, k \geqslant 0, 1 \leqslant m \leqslant nn>0,k⩾0,1⩽m⩽n.

  • Note that (conjecturally)
W(n,k+1,n)=(2n+k)![z2n+k](ez−z−1)nn!W(n, k+1, n) = (2n + k)! [z^{2n+k}] \frac{(e^z-z-1)^n}{n!}W(n,k+1,n)=(2n+k)![z2n+k]n!(ez−z−1)n​

I conjecture that b(n)=a(n).b(n)=a(n).b(n)=a(n).

I also conjecture that if we change values of b(n)b(n)b(n) for n=2k−1n=2^k-1n=2k−1 to b(n)=a(2m(2k−1)+q)b(n) = a(2^m(2^k-1)+q)b(n)=a(2m(2k−1)+q), then formula for otherwise case (I mean b(n)=p(r(n),s(n)+1)b(n) = p(r(n), s(n)+1)b(n)=p(r(n),s(n)+1)) gives b(n)=a(2mn+q)b(n) = a(2^mn+q)b(n)=a(2mn+q).

Finally, I conjecture that

1(n−k)!∑i=1k+1L(n,k,i)(−1)k−i+1=(n+kk)\frac{1}{(n-k)!}\sum\limits_{i=1}^{k+1} L(n,k,i)(-1)^{k-i+1} = \binom{n+k}{k}(n−k)!1​i=1∑k+1​L(n,k,i)(−1)k−i+1=(kn+k​)

Here is the PARI/GP program to check it numerically:

T(n, k) = my(A = 2*n+1, B, C, v1, v2); v1 = []; while(A > 0, B=valuation(A, 2); v1=concat(v1, B+1); A \= 2^(B+1)); v1 = Vecrev(v1); A = #v1; v2 = vector(A, i, 1);  for(i=1, A-1, B = A-i; for(j=1, B, C = B-j+k+1; v2[j] = v2[j]*C^v1[B] - v2[j+1]*(C-1)^v1[B])); v2[1]
a(n) = T(n, 1)
c1(n, m, q) = my(L = if(m == 0, -1, logint(m, 2))); m + ((1 << q) - 1) << (L + n)
c2(n, m, q, k) = if(k == 0, a(c1(n, m, q)), c2(n+1, m, q, k-1) - (q-k+2)*c2(n, m, q, k-1))
c3(q, k) = if(q-k<=0, 0, my(M1, M2); M1 = matrix(k+1, k+1, i, j, c2(1, 2^(i-1), j-1, 0)); M2 = matrix(k+1, 1, i, j, c2(1, 2^(i-1), q, q-k)); M3 = matsolve(M1, M2); v1 = vector(k+1, i, 0); for(i=1, k+1, v1[i] = M3[i, 1]); v1)
s(n) = if(n==0, 0); my(b = binary(n), r = #b); for(i=2, #b, if(!b[i], return(i-1))); r
t(n) = my(A = 1 << s(n) - 1, B = 1, C = n%(A*B), D = 1 << (if(C == 0, -1, logint(C, 2)) + 1), E = (n - C)/(A*B)); while(!(B == D && E == 2^logint(E, 2)), B *= 2; C = n%(A*B); D = 1 << (if(C == 0, -1, logint(C, 2)) + 1); E = (n - C)/(A*B)); C
vv1 = vector(10, i, a(2^1000000*(2^(i-1)-1)+12345678))
vv2 = vector(10, i, vector(i, j, c3(i, j-1)))
b(n) = my(A = logint(n+1, 2)); if((n+1) == 1 << A, vv1[A+1], my(A = s(n), B = t(n), C = if(B == 0, -1, logint(B, 2)), D = 1 << (C+1), E = D*((1 << A) - 1), F = logint((n - B)/E, 2), G = b(B+E), v1); v1 = vector(A, i, b(B+D*((1 << (i-1)) - 1))); v2 = vv2[A]; for(i=1, A, v2[i] = sum(j=1, i, v1[j]*v2[i][j])); v2 = concat(v2, G); for(i=1, F, forstep(j=A+1, 2, -1, v2[j] *= j; v2[j] += v2[j-1])); v2[A+1])
test(n) = b(n) == a(2^1000000*n+12345678)
for(i = 1, 299, print(test(i)))

You can also try to print

for(i = 1, 299, print(b(i)==0))
for(i = 1, 299, print(a(2^1000000*i+12345678)==0))

separately to compare the speed. Note that memoization is not useful here since values are too big, so computing b(n)b(n)b(n) using recursion is much faster.

UPD: here is a new version of the main question where I reassign some functions.

  • Let W(n,k,m)W(n, k, m)W(n,k,m) be an integer coefficients defined for 0⩽k⩽n,m>00 \leqslant k \leqslant n, m > 00⩽k⩽n,m>0 with W(n,k,m)=0W(n,k,m)=0W(n,k,m)=0 for n<0n < 0n<0 or k<0k < 0k<0 such that
W(n,k,m)=(k+m)W(n−1,k,m)+(n−k)W(n−1,k−1,m)+[m>1]W(n,k,m−1),W(0,0,m)=1W(n, k, m) = (k+m)W(n-1, k, m) + (n-k)W(n-1, k-1, m) + [m > 1]W(n, k, m-1), \\ W(0, 0, m) = 1W(n,k,m)=(k+m)W(n−1,k,m)+(n−k)W(n−1,k−1,m)+[m>1]W(n,k,m−1),W(0,0,m)=1

For the related sequences in OEIS, see A173018, A062253, A062254, A062255.

  • Let L(n,k,m)L(n, k, m)L(n,k,m) be an integer coefficients defined for n>0,0⩽k⩽n,0⩽m⩽kn > 0, 0 \leqslant k \leqslant n, 0 \leqslant m \leqslant kn>0,0⩽k⩽n,0⩽m⩽k such that
L(n,k,m)=(n−k)!W(n−m,k−m,m+1)L(n, k, m) = (n-k)!W(n-m, k-m, m+1)L(n,k,m)=(n−k)!W(n−m,k−m,m+1)
  • Let b(n)b(n)b(n) be an integer sequence such that b(n)=1b(n) = 1b(n)=1 for n=2k−1n=2^k-1n=2k−1,
∑i=0s(n)p(n,s(n)−i)i!∑j=0i(s(n)−j+1)r(n)(ij)(−1)j\sum\limits_{i=0}^{s(n)} \frac{p(n, s(n)-i)}{i!}\sum\limits_{j=0}^{i} (s(n)-j+1)^{r(n)}\binom{i}{j}(-1)^ji=0∑s(n)​i!p(n,s(n)−i)​j=0∑i​(s(n)−j+1)r(n)(ji​)(−1)j

otherwise where

p(n,k)=∑i=0kb(t(n)+(2i−1)2ℓ(t(n))+1)L(s(n),k,i)p(n, k) = \sum\limits_{i=0}^{k} b(t(n) + (2^i - 1)2^{\ell(t(n))+1})L(s(n), k, i)p(n,k)=i=0∑k​b(t(n)+(2i−1)2ℓ(t(n))+1)L(s(n),k,i)

for 0⩽k⩽s(n)0 \leqslant k \leqslant s(n)0⩽k⩽s(n).

I conjecture that if b(n)=a(2m(2k−1)+q)b(n) = a(2^m(2^k-1)+q)b(n)=a(2m(2k−1)+q) for n=2k−1n = 2^k - 1n=2k−1, then we can recursively produce a(2mn+q)=b(n)a(2^mn+q) = b(n)a(2mn+q)=b(n) using the otherwise case given above.

Here is the PARI/GP program to check it numerically:

T(n, k) = my(A = 2*n+1, B, C, v1, v2); v1 = []; while(A > 0, B=valuation(A, 2); v1=concat(v1, B+1); A \= 2^(B+1)); v1 = Vecrev(v1); A = #v1; v2 = vector(A, i, 1);  for(i=1, A-1, B = A-i; for(j=1, B, C = B-j+k+1; v2[j] = v2[j]*C^v1[B] - v2[j+1]*(C-1)^v1[B])); v2[1]
a(n) = T(n, 1)
s(n) = my(L = logint(n, 2), A = 1 << (L+1) - n - 1); L - if(A == 0, -1, logint(A, 2))
t(n) = my(L = logint(n, 2), A = L - s(n) + 1); n - 1 << (L+1) + 1 << A
r(n) = my(A = t(n)); logint((n-A)/((1 << s(n)) - 1) >> (if(A == 0, -1, logint(A, 2)) + 1), 2)
W(n, k, m) = if(n < 0 || k < 0, 0, if(n == 0 && k == 0, 1, (k+m)*W(n-1, k, m) + (n-k)*W(n-1, k-1, m) + if(m>1, W(n, k, m-1))))
L(n, k, m) = (n-k)!*W(n-m, k-m, m+1)
b(n) = my(A = logint(n+1, 2)); if((n+1) == 1 << A, a(2^100*n+123456), sum(i=0, s(n), p(n, s(n)-i)/i!*sum(j=0, i, (s(n)-j+1)^r(n)*binomial(i, j)*(-1)^j)))
p(n, k) = sum(i=0, k, b(t(n)+(2^i-1)*2^(if(t(n)==0,-1,logint(t(n), 2))+1))*L(s(n), k, i))
test(n) = b(n) == a(2^100*n+123456)

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

Topics : nt.number-theory · co.combinatorics · sequences-and-series · integer-sequences · recurrences

Authors listed by the source : user231922

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : May 19, 2024

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