Delta function could not be got when delta function is the answer

*To*: mathgroup at smc.vnet.net*Subject*: [mg64322] Delta function could not be got when delta function is the answer*From*: "PengYu.UT at gmail.com" <PengYu.UT at gmail.com>*Date*: Sat, 11 Feb 2006 03:32:51 -0500 (EST)*Sender*: owner-wri-mathgroup at wolfram.com

Sum[E^(-2*Pi*I*n*p*k), {n, -Infinity, Infinity}] The above summation should give an delta function. However, 0 is given by Mathematica 5.0. Is it a bug. Is there any workaround to get the delta function? Thanks, Peng

**Follow-Ups**:**Re: Delta function could not be got when delta function is the answer***From:*Devendra Kapadia <dkapadia@wolfram.com>