Skip to Content.
Sympa Menu

cado-nfs - Re: [Cado-nfs-discuss] GF2X problem

Subject: Discussion related to cado-nfs

List archive

Re: [Cado-nfs-discuss] GF2X problem


Chronological Thread 
  • From: Paul Leyland <paul.leyland@gmail.com>
  • To: cado-nfs-discuss@lists.gforge.inria.fr
  • Subject: Re: [Cado-nfs-discuss] GF2X problem
  • Date: Mon, 13 Apr 2020 12:46:05 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=paul.leyland@gmail.com; spf=Pass smtp.mailfrom=paul.leyland@gmail.com; spf=None smtp.helo=postmaster@mail-wm1-f53.google.com
  • Ironport-phdr: 9a23:wEex0xNb6tKY1xID4kEl6mtUPXoX/o7sNwtQ0KIMzox0K/vyrarrMEGX3/hxlliBBdydsK0UzbeO+4nbGkU+or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6a8TWO6msZExn4cAx7PaH5G5XZkt+s/+Sz4IHIJQpGgyCybPVzKg+3pEPfrJo4m4xnf5441x+BhnZZf+1QySs8PVuOm1D469a09Zhv2ytVsvMlscVHVPOpLOwDUbVEAWF+YCgO78rxuEybFFbd1j4nSmwT1yFwLU3F4RX9BMqjtyL7sq9i3XDfM5CtC78zXjum4uFgTxq60H5WZQ58y3nej4lLtIwepRugoxJlxIuNOdOaMfN/euXWetZIHDMdDPYUbDRIB8aHV6VKF/AIZL8KoIz0pl9Iphy7V1Gh
  • List-archive: <http://lists.gforge.inria.fr/pipermail/cado-nfs-discuss/>
  • List-id: A discussion list for Cado-NFS <cado-nfs-discuss.lists.gforge.inria.fr>


On 13/04/2020 12:41, paul zimmermann wrote:
> Dear Adolfo,
>
>> Dear Paul,
>>
>> Yes! Thank you really very much!!!
>>
>> Just one more question: if I have to factorize a small number such as
>> 576460752303423487, what should I do to have CADO-NFS working?
>>
>> Thanking you in advance, I remain
>>
>> Sincerely yours,
>> Adolfo
> CADO-NFS is not designed to factor such small numbers. You could use Sage
> instead (sagemath.org):
>
> ┌────────────────────────────────────────────────────────────────────┐
> │ SageMath version 8.6, Release Date: 2019-01-15 │
> │ Using Python 2.7.15. Type "help()" for help. │
> └────────────────────────────────────────────────────────────────────┘
> sage: factor(576460752303423487)
> 179951 * 3203431780337
>
> or Pari/GP (https://pari.math.u-bordeaux.fr/):
>
> GP/PARI CALCULATOR Version 2.7.5 (released)
> amd64 running linux (x86-64/GMP-6.0.0 kernel) 64-bit version
> compiled: Nov 10 2015, gcc version 5.2.1 20151028 (Ubuntu
> 5.2.1-23ubuntu1)
> threading engine: pthread
> (readline v6.3 enabled, extended help enabled)
>
> Copyright (C) 2000-2015 The PARI Group
>
> ? factorint(576460752303423487)
> %1 =
> [ 179951 1]
>
> [3203431780337 1]
>
> Hope this helps,
> Paul

Or even just plain old Unix factor(1), which is much lighter-weight
alternative to the pair above:

pcl@thoth:~$ time factor 576460752303423487
576460752303423487: 179951 3203431780337

real    0m0.001s
user    0m0.001s
sys    0m0.000s

----

The other Paul






Archive powered by MHonArc 2.6.19+.

Top of Page