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

 

Logo


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 August 15 18:49 EDT 2018. Contains 313779 sequences. (Running on oeis4.)