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 2003

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

Search the Archive

Re: Summations with Primes

  • To: mathgroup at
  • Subject: [mg39946] Re: Summations with Primes
  • From: "Kevin J. McCann" <KevinMcCann!kjm at>
  • Date: Thu, 13 Mar 2003 03:00:20 -0500 (EST)
  • References: <b4mnus$imf$>
  • Sender: owner-wri-mathgroup at

The following will give the sum



Sum[f[ p[[i]]], {i, 1, 10}]

"Anthony Felder" <afelder at> wrote in message
news:b4mnus$imf$1 at
> Can you tell me if, when calculating a summation of f(i) where i goes from
> imin to imax, Mathematica can be forced to only use prime values for i?
> Thank you for your time
> Anthony Felder

  • Prev by Date: Re: Summations with Primes
  • Next by Date: How to solve numeriquement the laplace's equation on the spherical surface
  • Previous by thread: Re: Summations with Primes
  • Next by thread: Re: Summations with Primes