A140976 Period length 10: repeat 8, 8, 6, 6, 4, 4, 2, 2, 0, 0.
8, 8, 6, 6, 4, 4, 2, 2, 0, 0, 8, 8, 6, 6, 4, 4, 2, 2, 0, 0, 8, 8, 6, 6, 4, 4, 2, 2, 0, 0, 8, 8, 6, 6, 4, 4, 2, 2, 0, 0, 8, 8, 6, 6, 4, 4, 2, 2, 0, 0, 8, 8, 6, 6, 4, 4, 2, 2, 0, 0, 8, 8, 6, 6, 4, 4, 2, 2, 0, 0, 8, 8, 6, 6, 4, 4, 2, 2, 0, 0, 8, 8, 6, 6, 4, 4, 2, 2, 0, 0
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (1,-1,1,-1,1,-1,1,-1,1).
Programs
-
Mathematica
PadRight[{},100,{8,8,6,6,4,4,2,2,0,0}] (* Harvey P. Dale, Jun 03 2012 *)
Formula
Also doubled A059631(n+1) mod 10.
G.f.: ( -8-6*x^2-4*x^4-2*x^6 ) / ( (x-1)*(1+x+x^2+x^3+x^4)*(1-x+x^2-x^3+x^4) ). - R. J. Mathar, Jul 08 2011
Extensions
More terms from Jinyuan Wang, Feb 26 2020
Comments