Hello.
I have the following function on the set of natural.
def B(n):
if n == 1:
return 1
return n * B(n - 1) + n*(n-1)/2*C(n - 1)
def C(n):
if n == 1:
return 1
return n * B(n - 1) + n*(n-1)*C(n - 1)
for k in range(2, 6):
print C(k)
Can SymPy gives me a normal form if it exists ?
*Christophe BAL*
*Enseignant de mathématiques en Lycée **et développeur Python amateur*
*---*
*French teacher of **math** in a high school **and **amateur **Python *
*developer*
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/CAAb4jGnPA41cUuU4k6MkZ_X4NF6by-UEU%3DE8%2B387%2B2NLSf24jQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.