%I#21 2022年9月8日08:45:50
%S 1,1,1,0,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,
%电话:25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,
%U 48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68
%N a(1)=1。a(n)=(先前项的总和)与A000217(n-2)之间的绝对差值,n>1。
%H<a href=“/index/Rec#order_02”>具有常系数的线性重复出现的索引条目,签名(2,-1)。
%F a(n)=|Sum_{i=1..n-1}a(i)-A000217(n-2)|,n>1。
%F a(n)=n-2,n>=5_R.J.Mathar,2010年10月26日
%t线性回归[{2,-1},{1,1,0,3,4},70](*Harvey P.Dale_,2015年12月10日;a(1)=1由_Georg Fischer_修订,2019年4月3日*)
%o(PARI)a(n)=如果(n>4,n-2,n<4)
%o(岩浆)[1,1,1,0]cat[n-2:n in[5..70]];//_G.C.Greubel,2019年4月3日
%o(鼠尾草)[1,1,1,0]+[n-2代表n in(5..70)]#_G.C.Greubel_,2019年4月3日
%Y参见A000217、A065475。
%K容易,没有,更少
%O 1,5型
%A Giovanni Teofilatto,2010年10月20日
%E定义中添加了插入零的精确索引,关键字:less和两个添加的公式-R.J.Mathar_,2010年10月26日
%E A171950和A181440是Giovanni Teofilatto提交的序列的两个不同编辑版本_N.J.A.Sloane,2010年10月29日
|