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!)
A327310 a(n) = floor(3*n*r) - 3*floor(n*r), where r = sqrt(8). 5
0, 2, 1, 1, 0, 0, 2, 2, 1, 1, 0, 0, 2, 2, 1, 1, 0, 0, 2, 2, 1, 1, 0, 0, 2, 2, 1, 1, 0, 0, 2, 2, 1, 1, 0, 2, 2, 1, 1, 0, 0, 2, 2, 1, 1, 0, 0, 2, 2, 1, 1, 0, 0, 2, 2, 1, 1, 0, 0, 2, 2, 1, 1, 0, 0, 2, 2, 1, 0, 0, 2, 2, 1, 1, 0, 0, 2, 2, 1, 1, 0, 0, 2, 2, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = floor(3*n*r) - 3*floor(n*r), where r = sqrt(8).
MATHEMATICA
r = Sqrt[8]; z = 300;
t = Table[Floor[3 n*r] - 3 Floor[n*r], {n, 0, z}]
CROSSREFS
The positions of 0's, 1's and 2's in {a(n) : n > 0} are given by A327311, A327312 and A327313.
Sequence in context: A178670 A026921 A198568 * A232539 A157044 A182748
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Sep 07 2019
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 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)