[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in factor?

From: Jim Meyering
Subject: Re: Bug in factor?
Date: Thu, 06 Jun 2002 09:30:48 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.3.50 (i686-pc-linux-gnu)

Thomas Toth <address@hidden> wrote:
> I tried to factor some numbers, and found out that "factor" freezes with the
> input
> 10000000000000000001
> when I tried
> 10000000000000000003 and 10000000000000000007, it worked without problems (and
> very quick).

That works fine for me (using factor from sh-utils-2.0.12):

  $ time factor 10000000000000000001
  10000000000000000001: 11 909090909090909091

  real    0m27.405s
  user    0m27.370s
  sys     0m0.020s

Maybe it's just taking a long time on your system?
Factoring those other two numbers takes much less time
because in each case their largest prime factor is smaller
than the one above.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]