Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2003
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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 smc.vnet.net
  • Subject: [mg39968] Re: [mg39932] Summations with Primes
  • From: Dr Bob <drbob at bigfoot.com>
  • Date: Thu, 13 Mar 2003 03:03:40 -0500 (EST)
  • References: <200303120729.CAA19087@smc.vnet.net>
  • Reply-to: drbob at bigfoot.com
  • Sender: owner-wri-mathgroup at wolfram.com

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