Re: Re: Summations with Primes
- To: mathgroup at smc.vnet.net
- Subject: [mg40028] Re: Re: Summations with Primes
- From: "AngleWyrm" <no_spam_anglewyrm at hotmail.com>
- Date: Sun, 16 Mar 2003 02:47:53 -0500 (EST)
- References: <200303130806.DAA12131@smc.vnet.net> <b4s8o1$iel$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
"Kirk Reinholtz" <kirk.reinholtz at jpl.nasa.gov> wrote in message news:b4s8o1$iel$1 at smc.vnet.net... > Prime/@Range[1,10] will get the first ten primes. > > Bill Rowe wrote: > > > > On 3/12/03 at 2:29 AM, afelder at crsi.org (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 -- -Jonathan
- References:
- Re: Summations with Primes
- From: Bill Rowe <listuser@earthlink.net>
- Re: Summations with Primes