Bill Allombert on Thu, 14 Dec 2023 11:16:43 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: foursquares-2.16.1.gp threesquares_fact
|
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: Re: foursquares-2.16.1.gp threesquares_fact
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Date: Thu, 14 Dec 2023 11:16:39 +0100
- Delivery-date: Thu, 14 Dec 2023 11:16:43 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1702549000; bh=yNA5OFNfSJflPjDEBZXPzodIR3RDjcJLmgHCGsd/vu4=; h=Date:From:To:Subject:References:In-Reply-To:From; b=IknddeUjYIV2HezFWWAeeIJw11ADOeeFVevJxetNqB6hmoIjbreuilQnbbTybDmUb X4fNYUdbRMZwTB+mk0W94V7kQXC0P9c6xO5rJei/7hopCob/iJW4WDolHMPOjoQzZo TvmZeXGC1Dud6d1aENwzDEX+DqlAm1AeIC+yjO0WlRnoDJz16ob26u/cgmfQN8noZi D4WFHbhrLxv63BIiLpf/3lAEIzKoa84lqnmbi8+jBkY7qux/VTjCQD3RjP9mQChhKk ycFnlBOh2Q5fIWJ9FBxoDnkIDuRVntX//Ny8/6L9XZPaWI7lMsU8jXzhfgPDAmJMM5 cpNDcP7/jid//Xaofaq1/tsUtTqCTZooBWv+UsZbf3qsILNMG0QrqJp9134tzE/Hur CwclqIGIpqQAIwuOgOPldIt+5/pylSJr9z8f5wacLEkgX4mxeuFPsyZfK6D7imZmc8 Eh1yt47cOMHYuF4If+QdSb9xCykWAe+JEgEewIIojZX10bwFifsiwm6IjncPNWom0c IyTw7oqCirXjymaixaGVHCdy2l5+V/Edp0yiCtdiIWwpw22Xk9kBfmWDO1NumX8deV VnyCKtcTVrBv9oNbXAg8qwO9cE86NhOrLtfsl8OMS9GA0QDWQ19UFYhK2XgD5RtHkG cMNzfOpTYgUSZIBXZoaIwlaU=
- In-reply-to: <ffe50be1-aa8c-4d4d-a0af-2ed17dead5fa@wavecable.com>
- Mail-followup-to: pari-users@pari.math.u-bordeaux.fr
- References: <ffe50be1-aa8c-4d4d-a0af-2ed17dead5fa@wavecable.com>
On Wed, Dec 13, 2023 at 10:34:43PM -0800, Thomas D. Dean wrote:
> What purpose does F serve in qfsolve([matdiagonal([1,1,1,-n]),F])?
>
> ? threesquares_fact(n,F)
> %66 = [15, 0, 3]
> ? abs(qfsolve(matdiagonal([1,1,1,-n]))[1..3])~
> %67 = [15, 0, 3]
F is the factorization of discriminant of matdiagonal([1,1,1,-n]) which is n.
This is to avoid factoring n several time.
Cheers,
Bill