(PARI)我的(x='x+O('x^30));Vec((1-4*x+x^2)/(1-11*x+7*x^2-x^3))\\G、 C.格雷贝尔2019年10月27日
(MAGMA)R<x>:=幂级数(Integers(),30);系数(R!((1-4*x+x^2)/(1-11*x+7*x^2-x^3))//G、 C.格雷贝尔2019年10月27日
(圣人)
定义A260033号_列表(prec):
P.<x>=动力系列(ZZ,prec)
返回P((1-4*x+x^2)/(1-11*x+7*x^2-x^3)).list()
A260033号_列表(30)#G、 C.格雷贝尔2019年10月27日
(间隙)a:=[1,7,71];对于[4..30]中的n,做a[n]:=11*a[n-1]-7*a[n-2]+a[n-3];od;a#G、 C.格雷贝尔2019年10月27日
|