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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A115634 Expansion of (1-4*x^2)/(1-x^2). 3
1, 0, -3, 0, -3, 0, -3, 0, -3, 0, -3, 0, -3, 0, -3, 0, -3, 0, -3, 0, -3, 0, -3, 0, -3, 0, -3, 0, -3, 0, -3, 0, -3, 0, -3, 0, -3, 0, -3, 0, -3, 0, -3, 0, -3, 0, -3, 0, -3, 0, -3, 0, -3, 0, -3, 0, -3, 0, -3, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Row sums of number triangle A115633.
LINKS
FORMULA
a(n) = 4*0^n - 3*(1 + (-1)^n)/2.
a(n) = Sum_{k=0..n} A115633(n, k).
From G. C. Greubel, Nov 23 2021: (Start)
a(n) = 1 if n = 0, otherwise a(n) = -A010674(n-1).
E.g.f.: 4 - 3*cosh(x). (End)
MATHEMATICA
Join[{1}, -3*Mod[Range[100] -1, 2]] (* G. C. Greubel, Nov 23 2021 *)
PROG
(Magma) [4*0^n -3*(1+(-1)^n)/2: n in [0..100]]; // G. C. Greubel, Nov 23 2021
(Sage) [1]+[-3*((n-1)%2) for n in (1..100)] # G. C. Greubel, Nov 23 2021
CROSSREFS
Sequence in context: A334040 A273128 A183035 * A010674 A021037 A053387
KEYWORD
easy,sign
AUTHOR
Paul Barry, Jan 27 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | 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 April 25 12:33 EDT 2024. Contains 371969 sequences. (Running on oeis4.)