|
|
A158677
|
|
Period 6: repeat [3, 4, 0, 5, 6, 3].
|
|
2
|
|
|
3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Also the decimal expansion of 1135210/333333 or the continued fraction of (81+sqrt(9867))/58.
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(3+4*x+5*x^3+6*x^4+3*x^5) / ((1-x)*(1+x)*(1+x+x^2)*(x^2-x+1)).
a(n) = a(n-6) for n>6.
a(n) = cos(n*Pi/6)^2 * (39 - 36*cos(n*Pi/3) + 6*cos(2*n*Pi/3) - 4*sqrt(3)*sin(n*Pi/3))/3. - Wesley Ivan Hurt, Jun 23 2016
|
|
MAPLE
|
|
|
MATHEMATICA
|
PadRight[{}, 120, {3, 4, 0, 5, 6, 3}] (* Harvey P. Dale, Aug 06 2013 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|