login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


A115714
Periodic {1,-1,-3,0,1,-5,1,0,-3,-1,1,-4}.
2
1, -1, -3, 0, 1, -5, 1, 0, -3, -1, 1, -4, 1, -1, -3, 0, 1, -5, 1, 0, -3, -1, 1, -4, 1, -1, -3, 0, 1, -5, 1, 0, -3, -1, 1, -4, 1, -1, -3, 0, 1, -5, 1, 0, -3, -1, 1, -4, 1, -1, -3, 0, 1, -5, 1, 0, -3, -1, 1, -4, 1, -1, -3, 0, 1, -5, 1, 0, -3, -1, 1, -4
OFFSET
0,3
COMMENTS
Diagonal sums of number triangle A115713.
FORMULA
G.f.: (1 - 3*x^2 + 4*x^3 + 3*x^4 + 4*x^5)/(1 + x + x^2 - x^4 - x^5 - x^6).
a(n) = Sum_{k=0..floor(n/2)} A115713(n-k, k).
MATHEMATICA
LinearRecurrence[{-1, -1, 0, 1, 1, 1}, {1, -1, -3, 0, 1, -5}, 80] (* G. C. Greubel, Nov 23 2021 *)
PROG
(Sage)
def A115714_list(prec):
P.<x> = PowerSeriesRing(ZZ, prec)
return P( (1-3*x^2+4*x^3+3*x^4+4*x^5)/(1+x+x^2-x^4-x^5-x^6) ).list()
A115714_list(80) # G. C. Greubel, Nov 23 2021
CROSSREFS
Cf. A115713.
Sequence in context: A333852 A179552 A119879 * A346242 A020768 A246182
KEYWORD
easy,sign
AUTHOR
Paul Barry, Jan 29 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 22 09:56 EDT 2024. Contains 376097 sequences. (Running on oeis4.)