%I#30 2022年9月8日08:46:02
%S 2,1,2,5,8,15,28,51,9417331858510761979364066951231422649,
%电话:4165876621140928259207476756876891161285429665015456246,
%电话:100356011845834833950195624414114852687211247026388543857
%N a(N)=a(N-1)+a(N-2)+a“N-3”,其中a(0)=2,a(1)=1,a(2)=2。
%C偏移量为5时,此序列为tribonacci阵列A136175的第四行。
%H G.C.Greubel,n表,n=0..1000的a(n)
%H Martin Burtscher、Igor Szczyrba、RafałSzczzyrba,<a href=“https://www.emis.de/journals/JIS/VOL18/Szczyrba/sz3.html“>n-anacci常数的分析表示及其推广,整数序列杂志,第18卷(2015年),第15.4.5条。
%H<a href=“/index/Rec#order_03”>具有常数的线性重复出现的索引条目,签名(1,1,1)。
%财务总监:(2-x-x^2)/(1-x-x^2-x^3)。
%F a(n)=K(n)-T(n+1)+T(n),其中K(n_G.C.Greubel,2019年4月23日
%t线性递归[{1,1,1},{2,1,2},34](*雷·钱德勒,2013年12月8日*)
%o(PARI)a(n)=([0,1,0;0,0,1;1,1,1]^n*[2;1;2])[1,1]\\查尔斯·格里特豪斯IV,2015年6月11日
%o(PARI)我的(x='x+o('x^40));Vec((2-x-x^2)/(1-x-x^2-x^3))\\_G.C.Greubel_,2019年4月23日
%o(Magma)R<x>:=PowerSeriesRing(整数(),40);系数(R!((2-x-x^2)/(1-x-x^2-x^3));//_G.C.Greubel,2019年4月23日
%o(鼠尾草)((2-x-x^2)/(1-x-x^2-x^3)).系列(x,40).系数(x,稀疏=假)#_G.C.格鲁贝尔,2019年4月23日
%o(间隙)a:=[2,1,2];;对于[4..40]中的n,做a[n]:=a[n-1]+a[n-2]+a[n-3];od;a、 #个_G.C.Greubel,2019年4月23日
%Y参考A000073、A000213、A035513、A136175、A141036、A141523。
%K nonn,简单
%0、1
%2012年7月29日,阿贝尔阿门
|