Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

bug in Legendre polinomials

  • To: mathgroup at
  • Subject: [mg20346] bug in Legendre polinomials
  • From: Peter Pollner <pollner at>
  • Date: Sat, 16 Oct 1999 00:47:38 -0400
  • Sender: owner-wri-mathgroup at


I have found a misterious bug (Version

I have checked the identity:
Sum[Binomial[ktmp, i]^2 x^i, {i, 0, ktmp}] = (1 - x)^ktmp LegendreP[ktmp,
(x + 1)/(1 - x)]


      Binomial[ktmp, i]^2 x^i, {i, 0, ktmp}] - (1 - x)^ktmp LegendreP[
        ktmp, (x + 1)/(1 - x)]]

which should be zero for arbitrary ktmp integers.
Mathematica gives only for ktmp<36 the correct result
for ktmp>=36 it gives a nonvanishing polinom.

I am interested also to force Mathematica to give the result of the series 
Sum[Binomial[ktmp, i]^2 x^i, {i, 0, ktmp}] 
in terms of Legendre polinomials and not as terms of Hypergeometric


  • Prev by Date: Re: Mathematica 4.0.1 Front End crashes my Mac
  • Next by Date: how to open all cells?
  • Previous by thread: My brackets/Parentheses are getting translated to text. Help!
  • Next by thread: Re: bug in Legendre polinomials