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!)
A260190 Kronecker symbol(-6 / 2*n + 1). 4
1, 0, 1, 1, 0, 1, -1, 0, -1, -1, 0, -1, 1, 0, 1, 1, 0, 1, -1, 0, -1, -1, 0, -1, 1, 0, 1, 1, 0, 1, -1, 0, -1, -1, 0, -1, 1, 0, 1, 1, 0, 1, -1, 0, -1, -1, 0, -1, 1, 0, 1, 1, 0, 1, -1, 0, -1, -1, 0, -1, 1, 0, 1, 1, 0, 1, -1, 0, -1, -1, 0, -1, 1, 0, 1, 1, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0
LINKS
FORMULA
Euler transform of length 12 sequence [ 0, 1, 1, -1, 0, -2, 0, 0, 0, 0, 0, 1].
G.f.: (1 + x^3) / (1 - x^2 + x^4).
G.f.: 1 / (1 - x^2 / (1 - x / (1 + 2*x / ( 1 - x / (1 - x / (1 + x)))))).
a(n) = (-1)^n * a(n+3) = -a(n+6) = a(5-n) = a(n+2) - a(n+4) for all n in Z.
a(n) = A117441(n-2) = (-1)^n * A260192(n) = (-1)^n * A117441(n+1) = A109017(2*n + 1). a(n) + a(n+1) = A214438(n-1).
a(2*n) = A010892(n). a(3*n + 1) = 0. a(3*n) = a(3*n + 2) = A057077(n).
EXAMPLE
G.f. = 1 + x^2 + x^3 + x^5 - x^6 - x^8 - x^9 - x^11 + x^12 + x^14 + x^15 + ...
MATHEMATICA
a[ n_] := KroneckerSymbol[ -6, 2 n + 1];
LinearRecurrence[{0, 1, 0, -1}, {1, 0, 1, 1}, 120] (* Harvey P. Dale, Jun 24 2018 *)
PROG
(PARI) {a(n) = kronecker( -6, 2*n + 1)};
(PARI) {a(n) = (-1)^(n\6) * [ 1, 0, 1][n%3 + 1]};
(PARI) {a(n) = if( n<3, n=5-n); polcoeff( (1 + x^3) / (1 - x^2 + x^4) + x * O(x^n), n)};
CROSSREFS
Sequence in context: A174208 A141687 A305385 * A260192 A057078 A204418
KEYWORD
sign,easy
AUTHOR
Michael Somos, Jul 18 2015
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 24 11:01 EDT 2024. Contains 371936 sequences. (Running on oeis4.)