Re: First non-trivial PARI/GP script from chatgpt session

Bill Allombert <[email protected]> Wed, 22 Oct 2025 16:52:47 +0200
Newsgroups gmane.comp.mathematics.pari.user
Message-ID <aPjvv3ONOLE3BeIt@seventeen>
On Wed, Oct 15, 2025 at 02:34:21PM +0200, [email protected] wrote:
> I take your word, instead
> classno(n)=qfbclassno(n);
> 
> better this?
> ? classno(n)=quadclassunit(n)[1];
> ? classno(41*73)
> 6

Use 
classno(n)=quadclassunit(n).no

Cheers,
Bill