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: Re: Summations with Primes

  • To: mathgroup at
  • Subject: [mg40028] Re: Re: Summations with Primes
  • From: "AngleWyrm" <no_spam_anglewyrm at>
  • Date: Sun, 16 Mar 2003 02:47:53 -0500 (EST)
  • References: <> <b4s8o1$iel$>
  • Sender: owner-wri-mathgroup at

"Kirk Reinholtz" <kirk.reinholtz at> wrote in message
news:b4s8o1$iel$1 at
> Prime/@Range[1,10] will get the first ten primes.
> Bill Rowe wrote:
> >
> > On 3/12/03 at 2:29 AM, afelder at (Anthony Felder) wrote:
> >
> > >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?

Try this:

Prime[Range[10]] // TableForm

Table[{i, Prime[i]}, {i, 1, 10}] // TableForm


  • Prev by Date: Re: Histogram normalization
  • Next by Date: Functions with multiple groups of arguments? [David Park?]
  • Previous by thread: Re: Re: Summations with Primes
  • Next by thread: Re: Summations with Primes