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 result:

[1] [1] [1, 1] [2, 1] [1, 2, 1] [4, 2, 1] [1, 3, 2, 1] [8, 4, 2, 1]

I expected the same result in both cases. Note that both Maple and 
Mathematika return the first variant, T(n, k), probably indicating a 
problem in simplify_hypergeometric()? [Windows 64, Sage 9.3]

-- 
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 email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/dcc99528-81b3-439e-bf74-38af5688bc67n%40googlegroups.com.

Reply via email to