Dirk Laurie on Sun, 17 Jun 2012 19:48:23 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: Lifting a quadgen
- From: Dirk Laurie <dirk.laurie@gmail.com>
- Date: Sun, 17 Jun 2012 19:48:15 +0200
- Delivery-date: Sun, 17 Jun 2012 19:48:23 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=QtBzz/psjI6VfTEgaYaffHRiMIRhBGrF8Ksn+QkFnYU=; b=Oq+keBimr7WQcPMXdlHtGtl+eq4n0iyg8sBGaaeCEYo659yIURJ4IlxHvJuz0hxBBS kEoywPIsNTxgI987AwcDJLP1UHcXyE8wVkHXyIyB77GABbvV7+4EtptJeRzyJGzXnfDI /D+c+xmN68AjzXkOXA9XRIVVMmDYD0HRgi1opSMwPJ0pHlpDeddT4NrcyBJXs6sVRnk1 Ywml26+hLh2MvKcZvNvpgY2yR/V5cz3rBeJ0qzWNiG2co1+Ukuup1Q+vgcVwYLJCOu21 yhTV2tUYZzzLVWo6Pk4v7urcDhr38pMEORyl5VMXicTpdR+sx3A/97pSZbHRrY+WAdHn Z24Q==
Consider the following GP session.
? phi=quadgen(5)
%1 = w
? L(n)=phi^n+(-1/phi)^n
%2 = (n)->phi^n+(-1/phi)^n
? L6=L(6)
%3 = 18
? type(L6)
%4 = "t_QUAD"
? type(%3)
%5 = "t_INT"
Two questions.
- Why are %3 and L6 of different type?
- Can one lift L6 to t_INT except by ugly kludges like
floor(1.*L6)?