Re: [sage-support] Problem with simplify_hypergeometric().

2021-11-26 Thread slelievre
Possibly related: - Sage Trac ticket 31890 simplify_hypergeometric is unstable https://trac.sagemath.org/ticket/31890 -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an

Re: [sage-support] Problem with simplify_hypergeometric().

2021-11-26 Thread Ray Rogers
I think this illustrates the problem more clearly; possibly related to a complaint that I got bounced on :) def H(n,k): return hypergeometric([-k, -n + k], [-k], -1) def Ha(n,k): return hypergeometric([ -n + k], [], -1) def T(n,k): return int(H(n,k).n()) def Ta(n,k): return int(Ha(n,k).n()) def

[sage-support] Problem with simplify_hypergeometric().

2021-11-26 Thread Peter Luschny
Please consider def H(n,k): return hypergeometric([-k, -n + k], [-k], -1) def T(n,k): return int(H(n,k).n()) def S(n,k): return H(n,k).simplify_hypergeometric() for n in range(8): print([T(n, k) for k in range(n+1)]) print([S(n, k) for k in range(n+1)]) The re