login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A110514 Expansion of (1 - x + x^2 + x^3)/(1 - x^2 - x^4 + x^6). 3
1, -1, 2, 0, 3, -1, 4, 0, 5, -1, 6, 0, 7, -1, 8, 0, 9, -1, 10, 0, 11, -1, 12, 0, 13, -1, 14, 0, 15, -1, 16, 0, 17, -1, 18, 0, 19, -1, 20, 0, 21, -1, 22, 0, 23, -1, 24, 0, 25, -1, 26, 0, 27, -1, 28, 0, 29, -1, 30, 0, 31, -1, 32, 0, 33, -1, 34, 0, 35, -1, 36, 0, 37, -1, 38, 0, 39, -1, 40, 0, 41, -1, 42, 0, 43, -1, 44, 0, 45, -1, 46, 0, 47, -1, 48, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

Diagonal sums of A110515. Partial sums of A110516.

LINKS

G. C. Greubel, Table of n, a(n) for n = 0..1000

Index entries for linear recurrences with constant coefficients, signature (0,1,0,1,0,-1).

FORMULA

G.f.: (1 - x + x^2 + x^3)/((1 - x^2)^2(1 + x^2)).

a(n) = a(n-2) + a(n-4) - a(n-6).

a(n) = (n/2 + 1)*(1 + (-1)^n)/2 - (1 - (-1)^n)*(1 + (-1)^((n-1)/2))/4.

a(n) = (sin(Pi*n/2)*((-1)^n - 1) + (n+3)*(-1)^n + (n+1))/4.

a(n) = Sum_{k=0..floor(n/2)} Jacobi(2^(n-2k), 2(n-2k)+1) [conjecture].

MATHEMATICA

Riffle[Range[50], {-1, 0}] (* Harvey P. Dale, Dec 08 2011 *)

PROG

(PARI) x='x+O('x^50); Vec((1-x+x^2+x^3)/((1-x^2)^2(1+x^2))) \\ G. C. Greubel, Aug 29 2017

CROSSREFS

Cf. A106249.

Sequence in context: A243056 A279119 A249738 * A249122 A135157 A135156

Adjacent sequences:  A110511 A110512 A110513 * A110515 A110516 A110517

KEYWORD

easy,sign

AUTHOR

Paul Barry, Jul 24 2005

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 5 03:15 EDT 2020. Contains 333238 sequences. (Running on oeis4.)