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

Quasar Supernova
  • 1,678
  • 8
  • 13
  • 1
    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 09:51

1 Answers1

2

With Assumptions you get

SeriesCoefficient[x^m, {x, 0, p},Assumptions -> Element[{p, m}, Integers]]
(* Piecewise[{{1, m == p}}, 0] *)    
Ulrich Neumann
  • 53,729
  • 2
  • 23
  • 55