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!)
A309970 Period 12: repeat [1, 1, 0, 0, -1, -1, -1, -1, 0, 0, 1, 1]. 0
1, 1, 0, 0, -1, -1, -1, -1, 0, 0, 1, 1, 1, 1, 0, 0, -1, -1, -1, -1, 0, 0, 1, 1, 1, 1, 0, 0, -1, -1, -1, -1, 0, 0, 1, 1, 1, 1, 0, 0, -1, -1, -1, -1, 0, 0, 1, 1, 1, 1, 0, 0, -1, -1, -1, -1, 0, 0, 1, 1, 1, 1, 0, 0, -1, -1, -1, -1, 0, 0, 1, 1, 1, 1, 0, 0, -1, -1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0
LINKS
FORMULA
a(n) = H(floor((n + 4)/2), 1, 1/2) where H(n, a, b) = hypergeom([a - n/2, b - n/2], [1 - n], 4).
From Chai Wah Wu, Feb 16 2021: (Start)
a(n) = a(n-2) - a(n-4) for n > 3.
G.f.: (1 - x)*(x + 1)^2/(x^4 - x^2 + 1). (End)
PROG
(Magma) &cat [[1, 1, 0, 0, -1, -1, -1, -1, 0, 0, 1, 1]^^10]
CROSSREFS
Sequence in context: A188192 A068432 A134668 * A039963 A267537 A329670
KEYWORD
sign,easy
AUTHOR
Peter Luschny, Sep 03 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 April 16 14:51 EDT 2024. Contains 371749 sequences. (Running on oeis4.)