|
|
A156536
|
|
Period 12: repeat 7,5,-1,1,-5,-7,-7,-5,1,-1,5,7.
|
|
0
|
|
|
7, 5, -1, 1, -5, -7, -7, -5, 1, -1, 5, 7, 7, 5, -1, 1, -5, -7, -7, -5, 1, -1, 5, 7, 7, 5, -1, 1, -5, -7, -7, -5, 1, -1, 5, 7, 7, 5, -1, 1, -5, -7, -7, -5, 1, -1, 5, 7, 7, 5, -1, 1, -5, -7, -7, -5, 1, -1, 5, 7, 7, 5, -1, 1, -5, -7, -7, -5, 1, -1, 5, 7, 7, 5, -1, 1, -5, -7, -7, -5, 1, -1, 5, 7, 7, 5
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
FORMULA
|
a(n) = -a(n-6).
G.f.: -(x-1)*(7*x^4 + 12*x^3 + 11*x^2 + 12*x + 7)/((1+x^2)*(x^4 - x^2 + 1)). (End)
G.f.: (-7*x^5 - 5*x^4 + x^3 - x^2 + 5*x + 7)/(x^6 + 1). - Chai Wah Wu, Feb 16 2021
|
|
MATHEMATICA
|
PadRight[{}, 120, {7, 5, -1, 1, -5, -7, -7, -5, 1, -1, 5, 7}] (* or *) LinearRecurrence[{0, 0, 0, 0, 0, -1}, {7, 5, -1, 1, -5, -7}, 120] (* Harvey P. Dale, Oct 15 2023 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
sign,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|