MathGroup Archive 2010

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

Search the Archive

Re: QuickFactorInteger

  • To: mathgroup at smc.vnet.net
  • Subject: [mg108347] Re: QuickFactorInteger
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Sun, 14 Mar 2010 05:16:01 -0500 (EST)

use TimeConstrained


Bob Hanlon

---- Artur <grafix at csl.pl> wrote: 

=============
Dear Mathematica Gurus
Who know how write procedure which will be do brutal force stop 
FactorInteger after defined time (e.g. 30 second) but results finded up 
to 30 second should be listed
Best wishes
Artur

Option Automatic need about 75 second to stop

Timing[fax =
  FactorInteger[
   1111111111111111111111111111111111111111111111111111111111111111111\
1111111111111111111111111111111111111111111111111111111111111111111111\
1111111111111111111111111111111111111111111111111111111111111111111111\
11111111111111111111111111111111111119, Automatic]]



  • Prev by Date: Video compression
  • Next by Date: Building a list of all words of length less than k in a given
  • Previous by thread: QuickFactorInteger
  • Next by thread: Re: QuickFactorInteger