|
|
A156551
|
|
Period 10: repeat [8,6,0,4,2,2,4,0,6,8].
|
|
1
|
|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
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
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|