|
|
A131282
|
|
Period 6: repeat [1, 2, 3, 3, 4, 5].
|
|
2
|
|
|
1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3, 3, 4, 5, 1, 2, 3
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 3 - 2*cos(Pi*n/3)/3 - 2*sin(Pi*n/3)/sqrt(3) - cos(2*Pi*n/3) - sin(2*Pi*n/3)/sqrt(3) - (-1)^n/3. - R. J. Mathar, Oct 08 2011
G.f.: (1+2*x+3*x^2+3*x^3+4*x^4+5*x^5)/(1-x^6).
a(n) = a(n-6) for n>5. (End)
|
|
MAPLE
|
|
|
MATHEMATICA
|
PadLeft[{}, 18*6, {1, 2, 3, 3, 4, 5}] (* Harvey P. Dale, Sep 23 2011 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy,changed
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|