Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.