来自在线整数百科全书的问候语!http://oei.org/y*Search: id:a309971 Showing 1-1 of 1 %I A309971 %S A309971 1,2,1,2,3,2,2,3,3,2,3,5,3,2,4,6,3,3,5,5,3,4,6,5,3,5,7,4,4,7,6,4,5,7, %T A309971 6,4,6,8,5,4,7,9,5,4,8,10,5,4,9,10,5,5,10,9,5,6,10,8,5,7,11,7,5,8,11, %U A309971 7,5,9,12,6,5,11,12,6,6,12,11,6,7,12,10,6,8,13,9,6,9,13,8,6,11,14 %N A309971 a(1) = 1, a(2) = 2; A(n)=圆((n-(n-1))/a(n-2)),由A308622.%%H A30971- Altug Alkan激发的N>2。n,a(n)n=1…10000的表%e A309971 a(4) = 2 because a(4) = round((4-1)/2) = 2. %o A309971 (PARI) q=vector(100); q[1]=1; q[2]=2; for(n=3, #q, q[n] = round((n-q[n-1])/q[n-2])); q %o A309971 (MAGMA) I:=[1,2]; [n le 2 select I[n] else Round((n-Self(n-1)) / Self(n-2)):n in [1..90]]; // _Marius A. Burtea_, Aug 25 2019 %Y A309971 Cf. A308622. %K A309971 nonn,look %O A309971 1,在AOIS最终用户许可协议下,2 A% A30971Altug AlGaNi,8月25日2019μl含量可用:HTTP:/OEIS.Org/许可证