login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual appeal: Please make a donation to keep the OEIS running! Over 6000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A100285 Expansion of (1+5x^2)/(1-x+x^2-x^3). 2
1, 1, 5, 5, 1, 1, 5, 5, 1, 1, 5, 5, 1, 1, 5, 5, 1, 1, 5, 5, 1, 1, 5, 5, 1, 1, 5, 5, 1, 1, 5, 5, 1, 1, 5, 5, 1, 1, 5, 5, 1, 1, 5, 5, 1, 1, 5, 5, 1, 1, 5, 5, 1, 1, 5, 5, 1, 1, 5, 5, 1, 1, 5, 5, 1, 1, 5, 5, 1, 1, 5, 5, 1, 1, 5, 5, 1, 1, 5, 5, 1, 1, 5, 5, 1, 1, 5, 5, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

This sequence is periodic. - T. D. Noe, Nov 09 2006

LINKS

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

FORMULA

a(n)=a(n-1)-a(n-2)+a(n-3); a(n)=3-2cos(pi*n/2)-2sin(pi*n/2); a(n)=mod(A100284(n), 8).

a(n)=1/2*{3*(n mod 4)+[(n+1) mod 4]-[(n+2) mod 4]+[(n+3) mod 4]} - Paolo P. Lava, Nov 21 2006

CROSSREFS

Sequence in context: A046585 A046584 A046599 * A172355 A178916 A046568

Adjacent sequences:  A100282 A100283 A100284 * A100286 A100287 A100288

KEYWORD

easy,nonn

AUTHOR

Paul Barry, Nov 11 2004

EXTENSIONS

Corrected by T. D. Noe, Nov 09 2006

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

License Agreements, Terms of Use, Privacy Policy .

Last modified December 12 20:04 EST 2017. Contains 295954 sequences.