login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A083054 a(n) = floor(sqrt(3)*n) - 3*floor(n/sqrt(3)). 3
1, 0, 2, 0, 2, 1, 0, 1, 0, 2, 1, 2, 1, 0, 1, 0, 2, 1, 2, 1, 0, 2, 0, 2, 1, 0, 1, 0, 2, 0, 2, 1, 0, 1, 0, 2, 1, 2, 1, 0, 2, 0, 2, 1, 2, 1, 0, 2, 0, 2, 1, 0, 1, 0, 2, 0, 2, 1, 0, 1, 0, 2, 1, 2, 1, 0, 2, 0, 2, 1, 2, 1, 0, 2, 0, 2, 1, 0, 1, 0, 2, 1, 2, 1, 0, 1, 0, 2, 1, 2, 1, 0, 2, 0, 2, 1, 0, 1, 0, 2, 0, 2, 1, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

Table of n, a(n) for n=1..105.

Boris Gourevitch, Graph of A083057

FORMULA

a(n) = floor(n*sqrt(3)) mod 3. - T. D. Noe, Oct 11 2006

PROG

(PARI) {a(n)=if(n<1, 0, sqrtint(3*n^2)-3*sqrtint(n^2\3))} /* Michael Somos, Aug 31 2006 */

CROSSREFS

Cf. A083035, A083038, A083055, A083056, A083057.

Cf. A022383 (floor(n*sqrt(3))).

Sequence in context: A194702 A118682 A198393 * A336921 A297742 A061264

Adjacent sequences:  A083051 A083052 A083053 * A083055 A083056 A083057

KEYWORD

nonn

AUTHOR

Benoit Cloitre, Apr 18 2003

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 17:46 EDT 2021. Contains 343117 sequences. (Running on oeis4.)