MathGroup Archive 2003

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

Search the Archive

Re: Summations with Primes


Easy.  For instance,

f[i_] = 1/i;
Sum[f@Prime@i, {i, 1, 10}]
% // N

Bobby

On Wed, 12 Mar 2003 02:29:09 -0500 (EST), Anthony Felder <afelder at crsi.org> 
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?
>
> Thank you for your time
>
> Anthony Felder
>
>
>



-- 
majort at cox-internet.com
Bobby R. Treat



  • Prev by Date: Re: Summations with Primes
  • Next by Date: Re: Summations with Primes
  • Previous by thread: Summations with Primes
  • Next by thread: Re: Summations with Primes