Searching for a proof of the pattern and identification of integer coefficients for the A329369
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
Please see the update given below. Everything you need to know from the old version of the question are the functions .
- Let be A329369 (i.e, number of permutations of with excedance set constructed by taking () if where () is the binary expansion of ). Here
- Let
Let be A090996 (i.e., number of leading 's in binary expansion of ). Here for , otherwise.
Let be be A087734. Here
Here square bracket denotes Iverson bracket.
- Let be A279209 (i.e., length of first run of 's in binary expansion of ).
To explain the relationship between these three sequences, it can be noted that
Here the sequences are unique as a solution with the condition that is minimal.
- Let be an integer sequence such that (conjecturally) it can be represented using some unknown integer coefficient defined for , namely for , otherwise. Here for with
for with and .
- Note that (conjecturally) can be represented as
Here are some unknown integer coefficients defined for .
- Note that (conjecturally)
I conjecture that
I also conjecture that if we change values of for to , then formula for otherwise case (I mean ) gives .
Finally, I conjecture that
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 using recursion is much faster.
UPD: here is a new version of the main question where I reassign some functions.
- Let be an integer coefficients defined for with for or such that
For the related sequences in OEIS, see A173018, A062253, A062254, A062255.
- Let be an integer coefficients defined for such that
- Let be an integer sequence such that for ,
otherwise where
for .
I conjecture that if for , then we can recursively produce 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
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)