Michael Somos on Mon, 29 Apr 2002 23:11:30 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

GP: kronecker() feature


Pari Developers,
     Using the up-to-the-minute CVS I find :

? \v
                 GP/PARI CALCULATOR Version 2.2.3 (development)
                 UltraSparc (MicroSparc kernel) 32-bit version
              (readline v2.2 enabled, extended help not available)
? kronecker([1,2,3],[2,3,5,7])
%1 = [[1, 1, 1, 1], [0, -1, -1, 1], [-1, 0, -1, -1]]
? ??kronecker
kronecker(x,y):

   Kronecker (i.e. generalized Legendre) symbol ((x)/(y)).   x and y must be of
type integer.

   The library syntax is kronecker(x,y), the result (0 or ± 1) is a long.

which indicates that kronecker() is doing something but the help doc
indicates that x and y must be integers. This is not clear to me. Shalom,
Michael