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!)
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

Table of n, a(n) for n=0..77.

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

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

Adjacent sequences:  A309967 A309968 A309969 * A309971 A309972 A309973

KEYWORD

sign

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 14 10:04 EDT 2021. Contains 345025 sequences. (Running on oeis4.)