Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I know that it is possible to expand StirlingS2[n, 10] in terms of elementary functions of n. I tried FunctionExpand but it returned unevaluated:

In[1]:= FunctionExpand[StirlingS2[n, 10]]
Out[1]= StirlingS2[n, 10]

Is there a way to do this in Mathematica?

share|improve this question
8  
Try FunctionExpand[StirlingS2[n, 10], Element[n, Integers] && n > 0]. –  chyaong May 9 '13 at 0:48
add comment

1 Answer 1

up vote 9 down vote accepted

You need to specify assumptions:

In[1]:= FunctionExpand[StirlingS2[n, 10], n > 0 && Mod[n, 1] == 0]
Out[1]= -(1/362880) + 2^(-8 + n)/315 + 1/135 2^(-7 + 2 n) + 
 1/315 2^(-8 + 3 n) - 3^(-3 + n)/1120 + 
 1/5 2^(-7 + n) 3^(-3 + n) - 5^(-2 + n)/576 + 
 1/567 2^(-8 + n) 5^(-2 + n) - 7^(-1 + n)/4320 - 9^(-2 + n)/4480
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.