MathGroup Archive 2008

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

Search the Archive

Re: plot primes only


Hi,

data = Select[Table[i, {i, 1, 100}], PrimeQ]

??

Regards
   Jens

markus mooslechner wrote:
> hi everyone!
> 
> a quick one:
> how can i tell mathematica to only list the primes from a list of data 
> and omit the others?
> primeQ only tells me the boolean result
> 
> 
> thanx
> markus
> 
> www.humanchaos.net
> 


  • Prev by Date: Re: plot primes only
  • Next by Date: Re: plot primes only
  • Previous by thread: Re: plot primes only
  • Next by thread: Re: plot primes only