login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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
OFFSET
0
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