VOOZH
about
URL: https://oeis.org/A115953
⇱ A115953 - OEIS
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
(
list
;
graph
;
refs
;
listen
;
history
;
text
;
internal format
)
OFFSET
0,6
COMMENTS
Diagonal sums of number triangle
A115952
.
LINKS
Table of n, a(n) for n=0..71.
Index entries for linear recurrences with constant coefficients
, signature (-1,-1,0,1,1,1).
FORMULA
G.f.: (1-x^3-x^5)/((1-x^3)(1+x+x^2+x^3)).
E.g.f.: (4*cosh(x) - 3*sin(x) - 5*sinh(x) + 2*exp(-x/2) * (cos(sqrt(3)*x/2) + sqrt(3)*sin(sqrt(3)*x/2)))/6. -
Amiram Eldar
, Jan 22 2026
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
Cf.
A115952
.
Sequence in context:
A363164
A255318
A249223
*
A225245
A204770
A333382
Adjacent sequences:
A115950
A115951
A115952
*
A115954
A115955
A115956
KEYWORD
easy
,
sign
AUTHOR
Paul Barry
, Feb 02 2006
STATUS
approved