login
A115953
Periodic {1,-1,0,0,1,-2,1,0,0,-1,1,-1}.
1
1, -1, 0, 0, 1, -2, 1, 0, 0, -1, 1, -1, 1, -1, 0, 0, 1, -2, 1, 0, 0, -1, 1, -1, 1, -1, 0, 0, 1, -2, 1, 0, 0, -1, 1, -1, 1, -1, 0, 0, 1, -2, 1, 0, 0, -1, 1, -1, 1, -1, 0, 0, 1, -2, 1, 0, 0, -1, 1, -1, 1, -1, 0, 0, 1, -2, 1, 0, 0, -1, 1, -1
OFFSET
0,6
COMMENTS
Diagonal sums of number triangle A115952.
FORMULA
G.f.: (1-x^3-x^5)/((1-x^3)(1+x+x^2+x^3))
MATHEMATICA
LinearRecurrence[{-1, -1, 0, 1, 1, 1}, {1, -1, 0, 0, 1, -2}, 80] (* or *) PadRight[{}, 80, {1, -1, 0, 0, 1, -2, 1, 0, 0, -1, 1, -1}] (* Harvey P. Dale, Jan 28 2023 *)
CROSSREFS
Sequence in context: A363164 A255318 A249223 * A225245 A204770 A333382
KEYWORD
easy,sign
AUTHOR
Paul Barry, Feb 02 2006
STATUS
approved