2012/12/11 Phil Bewig <pbe...@gmail.com>:
> I can't type. The correct count of primes less than a million is 78498. And
> there is something wrong if (nth-prime 78498) returns 100003, as the 78498th
> prime is 999983.

That's because nth-prime counts from 0 and Mathematica counts from 1.

-- 
Jens Axel Søgaard

____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to