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!)
A122879 Periodic sequence of period 21. 1
0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,8
COMMENTS
See related comments in A122878.
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,-1,1,0,0,0,0,0,-1,1).
FORMULA
a(n+21) = a(n).
G.f.: -x^5*(2*x^10-x^7+x^3+1) / ((x-1)*(x^2+x+1)*(x^12-x^11+x^9-x^8+x^6 -x^4+x^3-x+1)). - Colin Barker, Dec 21 2012
MATHEMATICA
PadRight[{}, 120, {0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2}] (* Harvey P. Dale, Dec 27 2016 *)
CROSSREFS
Cf. A122878.
Sequence in context: A343957 A338505 A037867 * A037866 A333181 A306216
KEYWORD
nonn,easy,changed
AUTHOR
Rick L. Shepherd, Sep 16 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 29 02:23 EDT 2024. Contains 371264 sequences. (Running on oeis4.)