The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A330025 a(n) = (-1)^floor(n/5) * sign(mod(n, 5)). 1
0, 1, 1, 1, 1, 0, -1, -1, -1, -1, 0, 1, 1, 1, 1, 0, -1, -1, -1, -1, 0, 1, 1, 1, 1, 0, -1, -1, -1, -1, 0, 1, 1, 1, 1, 0, -1, -1, -1, -1, 0, 1, 1, 1, 1, 0, -1, -1, -1, -1, 0, 1, 1, 1, 1, 0, -1, -1, -1, -1, 0, 1, 1, 1, 1, 0, -1, -1, -1, -1, 0, 1, 1, 1, 1, 0, -1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
This is a strong elliptic divisibility sequence t_n as given in [Kimberling, p. 16] where x = 1, y = 1, z = 1. - Michael Somos, Mar 17 2020
LINKS
Clark Kimberling, Strong divisibility sequences and some conjectures, Fib. Quart., 17 (1979), 13-17.
FORMULA
Euler transform of length 10 sequence [1, 0, 0, -1, -1, 0, 0, 0, 0, 1].
G.f.: x * (1 + x) * (1 + x^2) / (1 + x^5).
a(n) = A099443(n-1). a(n) = A163812(n) except n=0.
a(n) = (-1)^floor(n/5) * A011558(n) for all n in Z.
0 = a(n)*a(n+4) - a(n+1)*a(n+3) + a(n+2)^2) = a(n)*a(n+5) - a(n+1)*a(n+4) + a(n+2)*a(n+3) for all n in Z. - Michael Somos, Mar 17 2020
EXAMPLE
G.f. = x + x^2 + x^3 + x^4 - x^6 - x^7 - x^8 - x^9 + x^11 + x^12 + ...
MATHEMATICA
a[ n_] := (-1)^Quotient[n, 5] Sign@Mod[n, 5];
PROG
(PARI) {a(n) = (-1)^(n\5) * sign(n%5)};
CROSSREFS
Sequence in context: A284674 A225181 A244895 * A330033 A332828 A100047
KEYWORD
sign,easy
AUTHOR
Michael Somos, Nov 27 2019
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 May 14 04:33 EDT 2024. Contains 372528 sequences. (Running on oeis4.)