A156551 Period 10: repeat [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, 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, 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, 6, 8
Offset: 0
Formula
a(n) = A155110(n) mod 10.
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
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
Extensions
Edited by R. J. Mathar, Feb 23 2009
More terms from Jinyuan Wang, Feb 26 2020
Comments