Created
November 7, 2016 05:43
-
-
Save VladimirReshetnikov/86f06d800799c396446b6b34fad3fe8a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ClearAll[p, n]; | |
p[1] = 1; | |
p[n_] := p[n] = Expand[FunctionExpand[Sum[Binomial[n-1, k-1] QBinomial[n-2, k-1, q] p[k] p[n-k] q^(n-k-1), {k, 1, n-1}]]]; | |
For[n = 1, True, n++, Print[p[n]]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment