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!)
A300075 Period 6: repeat [0, 1, 1, 2, 2, 2]. 2
0, 1, 1, 2, 2, 2, 0, 1, 1, 2, 2, 2, 0, 1, 1, 2, 2, 2, 0, 1, 1, 2, 2, 2, 0, 1, 1, 2, 2, 2, 0, 1, 1, 2, 2, 2, 0, 1, 1, 2, 2, 2, 0, 1, 1, 2, 2, 2, 0, 1, 1, 2, 2, 2, 0, 1, 1, 2, 2, 2, 0, 1, 1, 2, 2, 2, 0, 1, 1, 2, 2, 2, 0, 1, 1, 2, 2, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
COMMENTS
Underlying A300076.
LINKS
FORMULA
a(n) = floor(((n+1) (mod 6))/2) + 2*floor((n (mod 6))/5), n >= 0.
G.f.: x*(1 + x + 2*x^2*(1 + x + x^2))/(1 - x^6).
a(n) = (4 - 2*cos(n*Pi/3) - cos(2*n*Pi/3) - cos(n*Pi) - sqrt(3)*sin(n*Pi/3))/3. - Wesley Ivan Hurt, Oct 04 2018
CROSSREFS
Sequence in context: A333880 A370303 A020943 * A056557 A342624 A302986
KEYWORD
nonn,easy
AUTHOR
Wolfdieter Lang, Mar 03 2018
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 April 23 08:33 EDT 2024. Contains 371905 sequences. (Running on oeis4.)