Hi everyone,
I'm Tanush, currently pursuing BTech at DTU, and I'm a new contributor to SymPy.
I've recently started exploring the SymPy codebase and have opened my first PR related to hypergeometric series.
I investigated issue #30652 and found that SymPy was using .is_Integer instead of .is_integer when checking the hypergeometric parameters. This prevented SymPy from recognizing a symbolic non-positive integer parameter and identifying the hypergeometric series as terminating.
My PR changes these checks to .is_integer, allowing SymPy to correctly recognize the terminating series and simplify the resulting finite binomial sum to n*p. I've also added/updated the relevant regression test and tested the fix locally.
PR: https://github.com/sympy/sympy/pull/30716
Issue: #30652
I'm looking forward to learning more about SymPy and contributing further to the project. Any feedback on my first contribution would be greatly appreciated.
Thanks!