login
Period 10: repeat [8,6,0,4,2,2,4,0,6,8].
1

%I #18 Dec 12 2023 08:03:44

%S 8,6,0,4,2,2,4,0,6,8,8,6,0,4,2,2,4,0,6,8,8,6,0,4,2,2,4,0,6,8,8,6,0,4,

%T 2,2,4,0,6,8,8,6,0,4,2,2,4,0,6,8,8,6,0,4,2,2,4,0,6,8,8,6,0,4,2,2,4,0,

%U 6,8,8,6,0,4,2,2,4,0,6,8,8,6,0,4,2,2,4,0,6,8

%N Period 10: repeat [8,6,0,4,2,2,4,0,6,8].

%C See A131715.

%F a(n) = A155110(n) mod 10.

%F G.f.: 2*(4*x^8-x^7+x^6+x^5+x^3+x^2-x+4)/((1-x)*(x^4-x^3+x^2-x+1)*(x^4+x^3+x^2+x+1)). - _R. J. Mathar_, Feb 23 2009

%F a(n) = (15*(4-m^4+8*m^3-19*m^2+12*m)-2*(m^3-6*m^2+17*m-18)*(-1)^floor(n/5))/12 where m = n-5*floor(n/5). - _Luce ETIENNE_, Oct 13 2017

%Y Cf. A010874, A131715, A155110.

%K nonn,easy,less

%O 0,1

%A _Paul Curtz_, Feb 09 2009

%E Edited by _R. J. Mathar_, Feb 23 2009

%E More terms from _Jinyuan Wang_, Feb 26 2020