OFFSET
1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
MATHEMATICA
PROG
(PARI) for(n=1, 30, print1(floor(n*(sin(Pi/3) + cos(Pi/3))) - floor(n*cos(Pi/3)) - floor(n*sin(Pi/3)), ", ")) \\ G. C. Greubel, Dec 27 2017
(Magma) C<i> := ComplexField(); [Floor(n*Sin(Pi(C)/3) + n*Cos(Pi(C)/3)) - Floor(n*Sin(Pi(C)/3)) - Floor(n*Cos(Pi(C)/3)): n in [1..30]]; // G. C. Greubel, Dec 27 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, May 06 2011
STATUS
approved