The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A131186 Period 12: repeat 0, 1, 2, 0, 2, 4, 0, 4, 3, 0, 3, 1. 0
0, 1, 2, 0, 2, 4, 0, 4, 3, 0, 3, 1, 0, 1, 2, 0, 2, 4, 0, 4, 3, 0, 3, 1, 0, 1, 2, 0, 2, 4, 0, 4, 3, 0, 3, 1, 0, 1, 2, 0, 2, 4, 0, 4, 3, 0, 3, 1, 0, 1, 2, 0, 2, 4, 0, 4, 3, 0, 3, 1, 0, 1, 2, 0, 2, 4, 0, 4, 3, 0, 3, 1, 0, 1, 2, 0, 2, 4, 0, 4, 3, 0, 3, 1, 0, 1, 2, 0, 2, 4, 0, 4, 3, 0, 3, 1, 0, 1, 2, 0, 2, 4, 0, 4, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
O.g.f.: -(x^5+3x^4-x^3-x^2+2x+1)*x/((x-1)(x^2+x+1)(x^4-x^2+1)) . - R. J. Mathar, Jan 15 2008
a(n+1) = sum(A211313(n, k), k=0..n) mod 5 - Johannes W. Meijer, Jul 19 2013
a(n) = a(n-2) + a(n-3) - a(n-4) - a(n-5) + a(n-7) for n > 6. - Chai Wah Wu, Feb 16 2021
CROSSREFS
Sequence in context: A194759 A209697 A126440 * A137312 A137320 A263399
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Sep 25 2007
EXTENSIONS
More terms from R. J. Mathar, Jan 15 2008
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 22 11:13 EDT 2024. Contains 372745 sequences. (Running on oeis4.)