Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

binomial(n,k) is not known to be nonnegative for nonnegative integers n,k #13617

Closed
pelegm opened this issue Nov 17, 2017 · 3 comments · Fixed by #13818
Closed

binomial(n,k) is not known to be nonnegative for nonnegative integers n,k #13617

pelegm opened this issue Nov 17, 2017 · 3 comments · Fixed by #13818

Comments

@pelegm
Copy link
Contributor

pelegm commented Nov 17, 2017

In the same spirit as in #13616:

>>> n = Symbol('n', integer=True, nonnegative=True)
>>> k = Symbol('k', integer=True, nonnegative=True)
>>> binomial(n, k).is_nonnegative  # Should return True
@sj29-innovate
Copy link

sj29-innovate commented Nov 29, 2017

I am taking this up.
Just wanted to know if this is really needed because if n and k are just symbols even if they are nonnegative , its not necessary that binomial(n,k) is necessarily nonnegative. The current behaviour is to ouput None which i think is acceptable. Please let me know regarding your idea.

@abhigyank
Copy link
Contributor

I want to take this up, since there hasn't been any updates. Which file would be related to binomials?

@pelegm
Copy link
Contributor Author

pelegm commented Dec 29, 2017

Try:

git grep "class binomial"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants