OFFSET
1,3
LINKS
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
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Apr 18 2003
STATUS
approved