OFFSET
0,1
COMMENTS
See A131715.
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
CROSSREFS
KEYWORD
nonn,easy,less
AUTHOR
Paul Curtz, Feb 09 2009
EXTENSIONS
Edited by R. J. Mathar, Feb 23 2009
More terms from Jinyuan Wang, Feb 26 2020
STATUS
approved