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!)
A175921 Period 5: repeat [1, 2, 2, -1, 1]. 1
1, 2, 2, -1, 1, 1, 2, 2, -1, 1, 1, 2, 2, -1, 1, 1, 2, 2, -1, 1, 1, 2, 2, -1, 1, 1, 2, 2, -1, 1, 1, 2, 2, -1, 1, 1, 2, 2, -1, 1, 1, 2, 2, -1, 1, 1, 2, 2, -1, 1, 1, 2, 2, -1, 1, 1, 2, 2, -1, 1, 1, 2, 2, -1, 1, 1, 2, 2, -1, 1, 1, 2, 2, -1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..75.

MATHEMATICA

PadRight[{}, 120, {1, 2, 2, -1, 1}] (* Harvey P. Dale, Dec 30 2016 *)

PROG

(PARI) a(n)=[1, 1, 2, 2, -1][n%5+1] \\ Charles R Greathouse IV, Mar 12 2017

CROSSREFS

Cf. A040001, A028356, A142150, A000012, A175922.

Sequence in context: A039998 A316089 A000999 * A303828 A025451 A184257

Adjacent sequences:  A175918 A175919 A175920 * A175922 A175923 A175924

KEYWORD

sign,easy,less

AUTHOR

Jaroslav Krizek, Oct 17 2010

EXTENSIONS

Edited by Joerg Arndt, Sep 16 2013

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 September 22 17:16 EDT 2020. Contains 337291 sequences. (Running on oeis4.)