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!)
A083054 a(n) = floor(sqrt(3)*n) - 3*floor(n/sqrt(3)). 3

%I #11 May 09 2014 12:20:07

%S 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,

%T 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,

%U 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

%N a(n) = floor(sqrt(3)*n) - 3*floor(n/sqrt(3)).

%H Boris Gourevitch, <a href="http://membres.lycos.fr/bgourevitch/temporaires/benoit/sqrt3fractal.jpg">Graph of A083057</a>

%F a(n) = floor(n*sqrt(3)) mod 3. - _T. D. Noe_, Oct 11 2006

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

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

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

%K nonn

%O 1,3

%A _Benoit Cloitre_, Apr 18 2003

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 03:30 EDT 2024. Contains 371906 sequences. (Running on oeis4.)