|
|
A131800
|
|
Period 4: repeat [1, 2, 5, 6].
|
|
6
|
|
|
1, 2, 5, 6, 1, 2, 5, 6, 1, 2, 5, 6, 1, 2, 5, 6, 1, 2, 5, 6, 1, 2, 5, 6, 1, 2, 5, 6, 1, 2, 5, 6, 1, 2, 5, 6, 1, 2, 5, 6, 1, 2, 5, 6, 1, 2, 5, 6, 1, 2, 5, 6, 1, 2, 5, 6, 1, 2, 5, 6, 1, 2, 5, 6, 1, 2, 5, 6, 1, 2, 5, 6, 1, 2, 5, 6, 1, 2, 5, 6, 1, 2, 5, 6, 1, 2, 5, 6, 1, 2, 5, 6, 1, 2, 5, 6, 1, 2, 5, 6, 1, 2, 5, 6, 1, 2, 5, 6
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
a(n) = (7 + (-1)^n + 4*(-1)^(2*n + 1 - (-1)^n)/4)/2.
G.f.: (1 + 2*x + 5*x^2 + 6*x^3)/((1-x)*(x+1)*(x^2+1)). - R. J. Mathar, Jan 13 2008
a(n) = 7/2 - 2*cos(Pi*n/2) - 2*sin(Pi*n/2) - (-1)^n/2. - R. J. Mathar, Oct 08 2011
|
|
MAPLE
|
|
|
MATHEMATICA
|
|
|
PROG
|
(Python)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
Salvatore Gambino (salvatore.gambino(AT)fastwebnet.it), Oct 04 2007
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|