Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: Percentage of Primes

  • To: mathgroup at smc.vnet.net
  • Subject: [mg128198] Re: Percentage of Primes
  • From: DC <b.gatessucks at gmail.com>
  • Date: Sun, 23 Sep 2012 03:00:53 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <k3jn7o$297$1@smc.vnet.net>

The following will give you a list of pairs with the data you want :

data = Table[{i, PrimePi[i]}, {i, 1, 1000}]



  • Prev by Date: Re: creating a graphic in a text cell
  • Next by Date: Remove cell content
  • Previous by thread: Re: Percentage of Primes
  • Next by thread: using built in compiler