Odd Multiplicities in Pascal's Triangle

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
3
down vote

favorite
1












This is more of a knowledge-sharing post, but I would love more insight.
I was looking at Pascal's triangle and I was curious which numbers appear precisely an odd number of times. My first observations were:



  1. 1 appears infinitely often, so it is not a candidate.

  2. If $x$ appears an odd number of times, then $x=2nchoose n$ for some $n$ (if not, then due to the symmetry of Pascal's triangle, $x$ would appear an even number of times).

  3. The first occurrence of $x$ is $x=2nchoose n$ (any preceding rows contain strictly smaller numbers).

  4. The last occurrences of $xne 1$ are at $x=xchoose 1$ and $x=xchoose x-1$.

  5. There are two diagonals that intersect at $x$. Between (and including) those two diagonals (below row $2n$) contain numbers strictly larger than $x$.

I haven't made much headway beyond this, so I turned to computation. I recognized that the diagonals of the triangle are strictly ascending (except those lines of 1s on the border, of course). This means that I can perform a binary search on each diagonal to locate an occurence of $x$. As well, symmetry means I only need to check the left- or right-side diagonals. Observation (4) means I can start at the 2nd diagonal (the triangular numbers, 1,3,6,...), and point (5) means I only have to check up to the $n-1$ diagonal.



I wrote a Python program to test up to $398choose199$ and I didn't find any numbers with odd multiplicity greater than three. This means, for example, that there are no integers smaller than $approx 2.58026316cdot10^118$ that appear 5 times.




I started off looking at the as-of-yet unproven Singmaster's Conjecture, and my gut instinct was to look instead at the cases of odd multiplicity. My hunch is that there are no numbers that have odd multiplicity greater than 3.



It's a super accessible problem, so maybe I've infected a few more minds. I'm also unsure if this belongs on math.stackexchange or MO.




Python code:



# x is our candidate, starting at (2n-2) choose (n-1).
x=2
# To compute the next x, we need to multiply by (2n-1)(2n)/(n*n)
# This simplifies to 2*(2n-1)/n
for n in range(2,200):
x*=(n+n-1)
x+=x
x/=n
#now we have our next candidate
#We need to search through the diagonals, we'll start at k=2, the 2nd diagonal (the triangular numbers)
#These evaluate to f(j)=(j(j-1)(j-2)...(j-k+1))/k!
#It's a strictly ascending sequence, so we can use a binary search.
e=1 #this will be our k!
print("%s : %s digits : %s" % (n,len(str(x)),x))
for k in range(2,n):
e*=k
mn=n+1 #performing a binary search, this is the lower bound
mx=x #this is the upper bound
p=x*e #multiplication is generally faster than division, so instead of comparing y/k!==x, we'll test y==x*k!
f=True
while f and mn<mx:
j=(mn+mx)>>1 #subdivide the interval into halves
z=1 #computing j(j-1)(j-2)...(j-k+1)
for f in range(k):
z*=(j-f)
f=z!=p #set f=False if we have a match, causing the loop to exit early
if z<p:
mn=j+1 #set the new lower bound
else:
mx=j #set the new upper bound
if z==p:
print(" %d %d=>%d" % (e,j,z/e))






share|cite|improve this question




















  • See also math.stackexchange.com/questions/2857223. It's not entirely clear to me what you're asking. You've already found the article on Singmaster's conjecture -- as far as I'm aware, that article correctly sums up the state of knowledge about the multiplicities of binomial coefficients -- what else would you like to know?
    – joriki
    Aug 12 at 4:39










  • I have found these bounds on the solution set. Are there any other bounds that others might know to make it easier to compute or solve? While I am aware that there are no known numbers that appear exactly 5 or more odd number of times, I haven't found my approach to computing being used. In a comment on the link you gave, they state that 10^60 is a bound, but my test was able to quickly rule out this subset of solutions up to 10^118.
    – Zeda
    Aug 12 at 14:33










  • Just a minor update-- I noticed that I could give a much better bound on where the number should lie in each diagonal and vastly improved computation. In 30min I was able to check all numbers up to ≈5*10^600. In the code, basically, initialize j≈2^((2n-k+.5)/k)*k, but that can be very optimized itself.
    – Zeda
    Aug 17 at 23:45














up vote
3
down vote

favorite
1












This is more of a knowledge-sharing post, but I would love more insight.
I was looking at Pascal's triangle and I was curious which numbers appear precisely an odd number of times. My first observations were:



  1. 1 appears infinitely often, so it is not a candidate.

  2. If $x$ appears an odd number of times, then $x=2nchoose n$ for some $n$ (if not, then due to the symmetry of Pascal's triangle, $x$ would appear an even number of times).

  3. The first occurrence of $x$ is $x=2nchoose n$ (any preceding rows contain strictly smaller numbers).

  4. The last occurrences of $xne 1$ are at $x=xchoose 1$ and $x=xchoose x-1$.

  5. There are two diagonals that intersect at $x$. Between (and including) those two diagonals (below row $2n$) contain numbers strictly larger than $x$.

I haven't made much headway beyond this, so I turned to computation. I recognized that the diagonals of the triangle are strictly ascending (except those lines of 1s on the border, of course). This means that I can perform a binary search on each diagonal to locate an occurence of $x$. As well, symmetry means I only need to check the left- or right-side diagonals. Observation (4) means I can start at the 2nd diagonal (the triangular numbers, 1,3,6,...), and point (5) means I only have to check up to the $n-1$ diagonal.



I wrote a Python program to test up to $398choose199$ and I didn't find any numbers with odd multiplicity greater than three. This means, for example, that there are no integers smaller than $approx 2.58026316cdot10^118$ that appear 5 times.




I started off looking at the as-of-yet unproven Singmaster's Conjecture, and my gut instinct was to look instead at the cases of odd multiplicity. My hunch is that there are no numbers that have odd multiplicity greater than 3.



It's a super accessible problem, so maybe I've infected a few more minds. I'm also unsure if this belongs on math.stackexchange or MO.




Python code:



# x is our candidate, starting at (2n-2) choose (n-1).
x=2
# To compute the next x, we need to multiply by (2n-1)(2n)/(n*n)
# This simplifies to 2*(2n-1)/n
for n in range(2,200):
x*=(n+n-1)
x+=x
x/=n
#now we have our next candidate
#We need to search through the diagonals, we'll start at k=2, the 2nd diagonal (the triangular numbers)
#These evaluate to f(j)=(j(j-1)(j-2)...(j-k+1))/k!
#It's a strictly ascending sequence, so we can use a binary search.
e=1 #this will be our k!
print("%s : %s digits : %s" % (n,len(str(x)),x))
for k in range(2,n):
e*=k
mn=n+1 #performing a binary search, this is the lower bound
mx=x #this is the upper bound
p=x*e #multiplication is generally faster than division, so instead of comparing y/k!==x, we'll test y==x*k!
f=True
while f and mn<mx:
j=(mn+mx)>>1 #subdivide the interval into halves
z=1 #computing j(j-1)(j-2)...(j-k+1)
for f in range(k):
z*=(j-f)
f=z!=p #set f=False if we have a match, causing the loop to exit early
if z<p:
mn=j+1 #set the new lower bound
else:
mx=j #set the new upper bound
if z==p:
print(" %d %d=>%d" % (e,j,z/e))






share|cite|improve this question




















  • See also math.stackexchange.com/questions/2857223. It's not entirely clear to me what you're asking. You've already found the article on Singmaster's conjecture -- as far as I'm aware, that article correctly sums up the state of knowledge about the multiplicities of binomial coefficients -- what else would you like to know?
    – joriki
    Aug 12 at 4:39










  • I have found these bounds on the solution set. Are there any other bounds that others might know to make it easier to compute or solve? While I am aware that there are no known numbers that appear exactly 5 or more odd number of times, I haven't found my approach to computing being used. In a comment on the link you gave, they state that 10^60 is a bound, but my test was able to quickly rule out this subset of solutions up to 10^118.
    – Zeda
    Aug 12 at 14:33










  • Just a minor update-- I noticed that I could give a much better bound on where the number should lie in each diagonal and vastly improved computation. In 30min I was able to check all numbers up to ≈5*10^600. In the code, basically, initialize j≈2^((2n-k+.5)/k)*k, but that can be very optimized itself.
    – Zeda
    Aug 17 at 23:45












up vote
3
down vote

favorite
1









up vote
3
down vote

favorite
1






1





This is more of a knowledge-sharing post, but I would love more insight.
I was looking at Pascal's triangle and I was curious which numbers appear precisely an odd number of times. My first observations were:



  1. 1 appears infinitely often, so it is not a candidate.

  2. If $x$ appears an odd number of times, then $x=2nchoose n$ for some $n$ (if not, then due to the symmetry of Pascal's triangle, $x$ would appear an even number of times).

  3. The first occurrence of $x$ is $x=2nchoose n$ (any preceding rows contain strictly smaller numbers).

  4. The last occurrences of $xne 1$ are at $x=xchoose 1$ and $x=xchoose x-1$.

  5. There are two diagonals that intersect at $x$. Between (and including) those two diagonals (below row $2n$) contain numbers strictly larger than $x$.

I haven't made much headway beyond this, so I turned to computation. I recognized that the diagonals of the triangle are strictly ascending (except those lines of 1s on the border, of course). This means that I can perform a binary search on each diagonal to locate an occurence of $x$. As well, symmetry means I only need to check the left- or right-side diagonals. Observation (4) means I can start at the 2nd diagonal (the triangular numbers, 1,3,6,...), and point (5) means I only have to check up to the $n-1$ diagonal.



I wrote a Python program to test up to $398choose199$ and I didn't find any numbers with odd multiplicity greater than three. This means, for example, that there are no integers smaller than $approx 2.58026316cdot10^118$ that appear 5 times.




I started off looking at the as-of-yet unproven Singmaster's Conjecture, and my gut instinct was to look instead at the cases of odd multiplicity. My hunch is that there are no numbers that have odd multiplicity greater than 3.



It's a super accessible problem, so maybe I've infected a few more minds. I'm also unsure if this belongs on math.stackexchange or MO.




Python code:



# x is our candidate, starting at (2n-2) choose (n-1).
x=2
# To compute the next x, we need to multiply by (2n-1)(2n)/(n*n)
# This simplifies to 2*(2n-1)/n
for n in range(2,200):
x*=(n+n-1)
x+=x
x/=n
#now we have our next candidate
#We need to search through the diagonals, we'll start at k=2, the 2nd diagonal (the triangular numbers)
#These evaluate to f(j)=(j(j-1)(j-2)...(j-k+1))/k!
#It's a strictly ascending sequence, so we can use a binary search.
e=1 #this will be our k!
print("%s : %s digits : %s" % (n,len(str(x)),x))
for k in range(2,n):
e*=k
mn=n+1 #performing a binary search, this is the lower bound
mx=x #this is the upper bound
p=x*e #multiplication is generally faster than division, so instead of comparing y/k!==x, we'll test y==x*k!
f=True
while f and mn<mx:
j=(mn+mx)>>1 #subdivide the interval into halves
z=1 #computing j(j-1)(j-2)...(j-k+1)
for f in range(k):
z*=(j-f)
f=z!=p #set f=False if we have a match, causing the loop to exit early
if z<p:
mn=j+1 #set the new lower bound
else:
mx=j #set the new upper bound
if z==p:
print(" %d %d=>%d" % (e,j,z/e))






share|cite|improve this question












This is more of a knowledge-sharing post, but I would love more insight.
I was looking at Pascal's triangle and I was curious which numbers appear precisely an odd number of times. My first observations were:



  1. 1 appears infinitely often, so it is not a candidate.

  2. If $x$ appears an odd number of times, then $x=2nchoose n$ for some $n$ (if not, then due to the symmetry of Pascal's triangle, $x$ would appear an even number of times).

  3. The first occurrence of $x$ is $x=2nchoose n$ (any preceding rows contain strictly smaller numbers).

  4. The last occurrences of $xne 1$ are at $x=xchoose 1$ and $x=xchoose x-1$.

  5. There are two diagonals that intersect at $x$. Between (and including) those two diagonals (below row $2n$) contain numbers strictly larger than $x$.

I haven't made much headway beyond this, so I turned to computation. I recognized that the diagonals of the triangle are strictly ascending (except those lines of 1s on the border, of course). This means that I can perform a binary search on each diagonal to locate an occurence of $x$. As well, symmetry means I only need to check the left- or right-side diagonals. Observation (4) means I can start at the 2nd diagonal (the triangular numbers, 1,3,6,...), and point (5) means I only have to check up to the $n-1$ diagonal.



I wrote a Python program to test up to $398choose199$ and I didn't find any numbers with odd multiplicity greater than three. This means, for example, that there are no integers smaller than $approx 2.58026316cdot10^118$ that appear 5 times.




I started off looking at the as-of-yet unproven Singmaster's Conjecture, and my gut instinct was to look instead at the cases of odd multiplicity. My hunch is that there are no numbers that have odd multiplicity greater than 3.



It's a super accessible problem, so maybe I've infected a few more minds. I'm also unsure if this belongs on math.stackexchange or MO.




Python code:



# x is our candidate, starting at (2n-2) choose (n-1).
x=2
# To compute the next x, we need to multiply by (2n-1)(2n)/(n*n)
# This simplifies to 2*(2n-1)/n
for n in range(2,200):
x*=(n+n-1)
x+=x
x/=n
#now we have our next candidate
#We need to search through the diagonals, we'll start at k=2, the 2nd diagonal (the triangular numbers)
#These evaluate to f(j)=(j(j-1)(j-2)...(j-k+1))/k!
#It's a strictly ascending sequence, so we can use a binary search.
e=1 #this will be our k!
print("%s : %s digits : %s" % (n,len(str(x)),x))
for k in range(2,n):
e*=k
mn=n+1 #performing a binary search, this is the lower bound
mx=x #this is the upper bound
p=x*e #multiplication is generally faster than division, so instead of comparing y/k!==x, we'll test y==x*k!
f=True
while f and mn<mx:
j=(mn+mx)>>1 #subdivide the interval into halves
z=1 #computing j(j-1)(j-2)...(j-k+1)
for f in range(k):
z*=(j-f)
f=z!=p #set f=False if we have a match, causing the loop to exit early
if z<p:
mn=j+1 #set the new lower bound
else:
mx=j #set the new upper bound
if z==p:
print(" %d %d=>%d" % (e,j,z/e))








share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Aug 12 at 3:37









Zeda

214




214











  • See also math.stackexchange.com/questions/2857223. It's not entirely clear to me what you're asking. You've already found the article on Singmaster's conjecture -- as far as I'm aware, that article correctly sums up the state of knowledge about the multiplicities of binomial coefficients -- what else would you like to know?
    – joriki
    Aug 12 at 4:39










  • I have found these bounds on the solution set. Are there any other bounds that others might know to make it easier to compute or solve? While I am aware that there are no known numbers that appear exactly 5 or more odd number of times, I haven't found my approach to computing being used. In a comment on the link you gave, they state that 10^60 is a bound, but my test was able to quickly rule out this subset of solutions up to 10^118.
    – Zeda
    Aug 12 at 14:33










  • Just a minor update-- I noticed that I could give a much better bound on where the number should lie in each diagonal and vastly improved computation. In 30min I was able to check all numbers up to ≈5*10^600. In the code, basically, initialize j≈2^((2n-k+.5)/k)*k, but that can be very optimized itself.
    – Zeda
    Aug 17 at 23:45
















  • See also math.stackexchange.com/questions/2857223. It's not entirely clear to me what you're asking. You've already found the article on Singmaster's conjecture -- as far as I'm aware, that article correctly sums up the state of knowledge about the multiplicities of binomial coefficients -- what else would you like to know?
    – joriki
    Aug 12 at 4:39










  • I have found these bounds on the solution set. Are there any other bounds that others might know to make it easier to compute or solve? While I am aware that there are no known numbers that appear exactly 5 or more odd number of times, I haven't found my approach to computing being used. In a comment on the link you gave, they state that 10^60 is a bound, but my test was able to quickly rule out this subset of solutions up to 10^118.
    – Zeda
    Aug 12 at 14:33










  • Just a minor update-- I noticed that I could give a much better bound on where the number should lie in each diagonal and vastly improved computation. In 30min I was able to check all numbers up to ≈5*10^600. In the code, basically, initialize j≈2^((2n-k+.5)/k)*k, but that can be very optimized itself.
    – Zeda
    Aug 17 at 23:45















See also math.stackexchange.com/questions/2857223. It's not entirely clear to me what you're asking. You've already found the article on Singmaster's conjecture -- as far as I'm aware, that article correctly sums up the state of knowledge about the multiplicities of binomial coefficients -- what else would you like to know?
– joriki
Aug 12 at 4:39




See also math.stackexchange.com/questions/2857223. It's not entirely clear to me what you're asking. You've already found the article on Singmaster's conjecture -- as far as I'm aware, that article correctly sums up the state of knowledge about the multiplicities of binomial coefficients -- what else would you like to know?
– joriki
Aug 12 at 4:39












I have found these bounds on the solution set. Are there any other bounds that others might know to make it easier to compute or solve? While I am aware that there are no known numbers that appear exactly 5 or more odd number of times, I haven't found my approach to computing being used. In a comment on the link you gave, they state that 10^60 is a bound, but my test was able to quickly rule out this subset of solutions up to 10^118.
– Zeda
Aug 12 at 14:33




I have found these bounds on the solution set. Are there any other bounds that others might know to make it easier to compute or solve? While I am aware that there are no known numbers that appear exactly 5 or more odd number of times, I haven't found my approach to computing being used. In a comment on the link you gave, they state that 10^60 is a bound, but my test was able to quickly rule out this subset of solutions up to 10^118.
– Zeda
Aug 12 at 14:33












Just a minor update-- I noticed that I could give a much better bound on where the number should lie in each diagonal and vastly improved computation. In 30min I was able to check all numbers up to ≈5*10^600. In the code, basically, initialize j≈2^((2n-k+.5)/k)*k, but that can be very optimized itself.
– Zeda
Aug 17 at 23:45




Just a minor update-- I noticed that I could give a much better bound on where the number should lie in each diagonal and vastly improved computation. In 30min I was able to check all numbers up to ≈5*10^600. In the code, basically, initialize j≈2^((2n-k+.5)/k)*k, but that can be very optimized itself.
– Zeda
Aug 17 at 23:45















active

oldest

votes











Your Answer




StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2879944%2fodd-multiplicities-in-pascals-triangle%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2879944%2fodd-multiplicities-in-pascals-triangle%23new-answer', 'question_page');

);

Post as a guest













































































這個網誌中的熱門文章

How to combine Bézier curves to a surface?

Carbon dioxide

Why am i infinitely getting the same tweet with the Twitter Search API?