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!)
A133876 n modulo 6 repeated 6 times. 3
1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,7
COMMENTS
Periodic with length 6^2=36.
LINKS
Index entries for linear recurrences with constant coefficients, signature (1, 0, 0, 0, 0, -1, 1, 0, 0, 0, 0, -1, 1, 0, 0, 0, 0, -1, 1, 0, 0, 0, 0, -1, 1, 0, 0, 0, 0, -1, 1).
FORMULA
a(n)=(1+floor(n/6)) mod 6.
a(n)=1+floor(n/6)-6*floor((n+6)/36).
a(n)=(((n+6) mod 36)-(n mod 6))/6.
a(n)=((n+6-(n mod 6))/6) mod 6.
G.f. g(x)=(1-x^6)(1+2x^5+3x^12+4x^18+5x^24)/((1-x)(1-x^36)).
G.f. g(x)=(5x^36-6x^30+1)/((1-x)(1-x^6)(1-x^36)).
MATHEMATICA
Table[PadRight[{}, 6, Mod[n, 6]], {n, 20}]//Flatten (* Harvey P. Dale, Nov 15 2023 *)
CROSSREFS
Sequence in context: A071538 A321017 A138194 * A321018 A340764 A152467
KEYWORD
nonn
AUTHOR
Hieronymus Fischer, Oct 10 2007
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 5 03:29 EDT 2024. Contains 372257 sequences. (Running on oeis4.)