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 2000

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

Search the Archive

Re: Product with p!=j

  • To: mathgroup at
  • Subject: [mg21705] Re: [mg21683] Product with p!=j
  • From: "Tomas Garza" <tgarza at>
  • Date: Sat, 22 Jan 2000 02:53:19 -0500 (EST)
  • Sender: owner-wri-mathgroup at

guillerm at wrote:

> I have the following problem:
> q[n_]:= Sum[1/Product[Subscript[k, p] - Subscript[k, j], {p, 1, 
> n}], {j, 1, n}], with p!=j
> Any suggestions?.

Perhaps this will help:

d[p_, j_] := If[p != j, 1/(Subscript[k, p] - Subscript[k, j]), 1]

q[n_] = Sum[Product[d[p, j], {p, 1, n}], {j, 1, n}]

Tomas Garza
Mexico City

  • Prev by Date: How the customize the fonts in the menu?
  • Next by Date: Poisson Solver (in transformed coordinates)
  • Previous by thread: Product with p!=j
  • Next by thread: Re: Product with p!=j