Ruud H.G. van Tol on Tue, 30 Jan 2024 12:50:41 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- To: pari-users <pari-users@pari.math.u-bordeaux.fr>
- Subject: eval bernpol
- From: "Ruud H.G. van Tol" <rvtol@isolution.nl>
- Date: Tue, 30 Jan 2024 12:50:33 +0100
- Delivery-date: Tue, 30 Jan 2024 12:50:41 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=isolution.nl; s=soverin; t=1706615438; bh=FQDP48dKm9ja/zYIHQLKBBbQj6xbdkQRRh3WxYNSHA8=; h=Date:To:From:Subject:From; b=iCLhJ4TndTR3PW6eMUDqSPSjBWfqT6nbOgz2sQKaW9hMZJjZmn7fn9sz6Vby7r4gV SLilHDH8GuIRlTcW8poJuBfut0tjeRZOWrHyumYHKdy53cdqN1U1TNRhES/aFLQ5p/ AM0N1p6kZ849TGDBh6gb/w815oSjHb0EXt0qRprLUZwdzOu/+Yee5K5mbK264DjE/v 6Zwwo1Bq5HoDAJyY7Zo1gK0HK8ToR0jlZCrzKQ2BYezLTOuD40e99qaiVMlVEA+6jE WvKV0SD4C6CfIJlqrQmi0LijxYkM8EKGuaBZSLWy/XlvljqQ9nPv0dyeDbFY1tQSUx 0cnzYAf6Y7ezQ==
Is this a canonical and effective way to use bernpol?
A285068(n) = my(x=1/3); denominator(3^n * eval(bernpol(n)));
? [ A285068(n) |n<-[0..20] ]
% [1, 2, 2, 1, 10, 1, 14, 1, 10, 1, 22, 1, 910, 1, 2, 1, 170, 1, 266, 1,
110]
If not, what are alternatives?
-- Ruud