Thomas D. Dean on Sat, 25 Nov 2023 06:18:37 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: N S.T. isfact returns 0
- From: "Thomas D. Dean" <tomdean@wavecable.com>
- Date: Fri, 24 Nov 2023 21:18:32 -0800
- Authentication-results: smtp02.wave.email-ash1.sync.lan header.from=tomdean@wavecable.com; sender-id=softfail
- Authentication-results: smtp02.wave.email-ash1.sync.lan smtp.mail=tomdean@wavecable.com; spf=softfail; sender-id=softfail
- Authentication-results: smtp02.wave.email-ash1.sync.lan smtp.user=<hidden>; auth=pass (PLAIN)
- Delivery-date: Sat, 25 Nov 2023 06:18:37 +0100
- User-agent: Mozilla Thunderbird
I was looking at foursquares-2.16.1.gp. In the function threesquares(n),
isfact(n) is used to select the method of calculation. I think it always
uses threesquares_fact(n,F).
I checked isfact(a^2+b^2+c^2) up to a==b==c==100 and found nothing.
Is there an N=a^2+b^2+c^2 S.T. isfact(N)==0?
? for(idx=20,50,print(idx," ",isfact(idx)))
20 [2, 2; 5, 1]
21 [3, 1; 7, 1]
22 [2, 1; 11, 1]
23 Mat([23, 1]) <-- should this be considered 0?
24 [2, 3; 3, 1]
25 Mat([5, 2])
26 [2, 1; 13, 1]
27 Mat([3, 3])
28 [2, 2; 7, 1]
29 Mat([29, 1])
...
Tom Dean