# SeriesCoefficient returns unevaluated

    SeriesCoefficient[x^m, {x, 0, p}]


This gives back the same thing. I tried Assumptions, FullSimplify etc. I keep getting back the same thing. The answer is clearly KroneckerDelta[p,m]

• it seems to work only when you give it a numerical value for m. as in SeriesCoefficient[x^4,{x,0,p}] then it gives Piecewise[{{1, p == 4}}, 0] – Nasser Feb 26 '18 at 9:51

SeriesCoefficient[x^m, {x, 0, p},Assumptions -> Element[{p, m}, Integers]]

• That is strange, because I tried this also when I looked at it. But It still returned unevaluated. I tried Reals also. which version are you using? I am using 11.2 on windows. !Mathematica graphics – Nasser Feb 26 '18 at 10:04