Skip to Content.
Sympa Menu

cado-nfs - Re: [cado-nfs] sqrt error

Subject: Discussion related to cado-nfs

List archive

Re: [cado-nfs] sqrt error


Chronological Thread 
  • From: eric.jeancolas@free.fr
  • To: Pierrick Gaudry <pierrick.gaudry@loria.fr>
  • Cc: cado-nfs@inria.fr
  • Subject: Re: [cado-nfs] sqrt error
  • Date: Mon, 26 Apr 2021 08:55:49 +0200 (CEST)
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=eric.jeancolas@free.fr; spf=Pass smtp.mailfrom=eric.jeancolas@free.fr; spf=None smtp.helo=postmaster@smtp2-g21.free.fr
  • Ironport-hdrordr: A9a23:SsQZKaEOD3lt6KX4pLqETMeALOonbusQ8zAX/mp6ICY6TuWzkceykPMHkSLugDEKV3063fyGMq+MQXTTnKQFhbU5F7GkQQXgpS+UPJhvhLGSpgHINg/f0qpm1alme7VjE9GYNzJHpOvz/QXQKbsd6fad9qTAv4vj5ldrCTpncqRxqzp+Yzz6LmRTZC1rQaU0D4Cd4M0vnUvDRV0yYt6gDncIG8jvzuerqLvcbRQLBwEq5WC15FvC1JfBDxOa0h0COgk/oosKzG6tqWPEz5Tmm+2nyxPaym/Y54lblZ/c0NdZbfb88/Q9G3HJggasaJ8JYczlgBkF5Me16Fgrl9HQoxAve+RLgkmhGV2InQ==
  • Ironport-phdr: A9a23:uvhk1B3G6row73HvsmDOJwQyDhhPgJ3EezUN459isYplN5qZl7zcNUDSrc9gkEXOFd2Cra4d2qyM6v+rCTJIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfLd/IA+ooQnMtMQajohvJ6cswRbVv3VEfPhby3l1LlyJhRb84cmw/J9n8ytOvv8q6tBNX6bncakmVLJUFDspPXw7683trhnDUBCA5mAAXWUMkxpHGBbK4RfnVZrsqCT6t+592C6HPc3qSL0/RDqv47t3RBLulSwKLCAy/n3JhcNsjaJbuBOhqAJ5w47Ie4GeKf5ycrrAcd8GWWZNW8BcXDFDDIyhdYsCF+QPM+ZGoYf+pVQAsBSxChWjCuPuzTFFnWP23bQm3Og9CwzKwA4tEtQTu3rUttX1M6ISXPirw6nSzDXMc+la2TXj54fSdBAuvfaMXbZqfsrK0kQvGRnFgUuOpoD/MTOVzOIAuHWU4OR8T+ygkXInqx1vrTi1wMchkobHi54Lxl3F9Sh13Yg7KN6lRUN/YNOpDZ9duS+YOoZ3Rs4vQG5mtTg4x7AEpJO2czYHxYk5yhPDd/GKc4mF7xzlWe2MIjl4nGpodKyiixqs60Ss1O/xWtO73VpUtCZJjMHAum4X2BDP98SKT+Vy80mu1DuKyQ/c9vpLLEQxmKrVJZMt36I8m58dsUjeHSL5gkD7ga+Se0gl5Oel7uXqYrviq5CAMoJ7kQ/zPb8ul8G5HO82KBIBX3KB9uS5zLDj/VP2QLFNjvAuianZtYzaJdwFqqKgDA9ZzJsv5wyxDze8ztsXg2MLLFxfeB6fjojpPU/BIOzgAPuhnligji1ny+7EM7H7DZjBMGLPnKn5cbZ48UFcyQ4zzd5F55JTD7EMOOz8WlXwtNPEFBM5MRK7zPzhCNph0YMeXXiAArSCPaPcq1+H+PwgL/OCZI8PoDr9MeQq5+byjX8lnl8QZbWm0oEKZ3C/B/hmJUuZYWH3j9caEWYKuxI+Q/bwhF2DVz5TfXeyULgm6jE1EoL1RbvEE7isjaab3Sy4VrJfe2xcGxjYCXblbZ+FUPRKZyuPLtVwujgDT7moDYE7g0KArgj/nrd9L+GS+CARs5nk0NFuz+PJmBx0+yYnXIymz2iRQjQszSszTDgs0fU6+BQlon+zlJNgivkdLuR9ovZAUwM0L5nZp8R0Ed3/HAzbLI7hYGbjec2vBHQKdvx0w9IKZC5VANC+lkqG0HDzRbEPmrHNCoZmqsr07z3KP894jk3++uw5lVBOasVVOGDgiLQtr2Du

Well, I understand better the problem.

In a preprocessing process, some "*" disappeared. So at the beginning, it's
of course a mistake from my side.
The number
181570647363941951922859674104963771103015312977807439204421953197794821673476296854978179746096739603508598016332617111965534228905323443567644055007324027034168949
should have been indeed
181*5706473639419519*22859674104963771103015312977807439204421953197794821673476296854978179746096739603508598016332617111965534228905323443567644055007324027034168949
and I should have submitted only the last one.
Of course, all 3 numbers divides the polynomial.
The erroneous number is
181*10^162+5706473639419519*10^146+22859674104963771103015312977807439204421953197794821673476296854978179746096739603508598016332617111965534228905323443567644055007324027034168949
What is strange is that this number doesn't appear as erroneous in the first
check process. When a number is not the right one, I usually get something
like:
Error:Generate Factor Base: Error, N does not divide resultant of given
polynomials

Not here...

So it seems that the sqrt check process is more accurate. And of course, the
sqrt check process is right. Maybe it's worth reinforce the first check
process.

Best regards.

Eric


----- Mail original -----
De: "Pierrick Gaudry" <pierrick.gaudry@loria.fr>
À: "eric jeancolas" <eric.jeancolas@free.fr>
Cc: cado-nfs@inria.fr
Envoyé: Lundi 26 Avril 2021 07:44:36
Objet: Re: [cado-nfs] sqrt error

Morning,

In this file, n (a.k.a N) should be the number you want to factor (or a
small multiple of it). It seems that this is not the case in the example
below. I think that (for once) the current error message is not so bad:
what is really needed for things to work is precisely that the given N
divides the resultant of the given polynomials.

Changing the line with
n:
169999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999920
should work.

Regards,
Pierrick

On Mon, Apr 26, 2021 at 07:24:08AM +0200, eric.jeancolas@free.fr wrote:
> Hello
>
> I got the following error in the last step of a process:
> Error:Square Root: Error, N does not divide resultant of given polynomials,
> or there are multiplicities.
> Error:Square Root: Can not compute m.
> I'm in a snfs mode.
> The polynomial is as follows:
> n:
> 181570647363941951922859674104963771103015312977807439204421953197794821673476296854978179746096739603508598016332617111965534228905323443567644055007324027034168949
> skew: 1.36
> type: snfs
> c0: -80
> c5: 17
> Y0: 100000000000000000000000000000000
> Y1: -1
>
> Which parameter can I tune to prevent this error?
> If such a parameter is easy to tune, could you add a line on the Error
> message to give such an advice? With something like:
> Error:Square Root: This is due to blah blah, try a larger tasks.blah.blah
> parameter...
>
> Best regards.
> Éric



Archive powered by MHonArc 2.6.19+.

Top of Page