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

 

Logo

Please make a donation to keep the OEIS running. We are now in our 56th year. In the past year we added 10000 new sequences and reached almost 9000 citations (which often say "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A194418 Numbers n such that sum{<1/3+k*r>-<k*r> : 1<=k<=n}>0, where r=sqrt(3) and < > denotes fractional part. 5
7, 10, 11, 13, 14, 22, 25, 26, 28, 29, 37, 40, 41, 43, 44, 52, 55, 67, 70, 82, 85, 97, 100, 160, 163, 164, 166, 167, 175, 178, 179, 181, 182, 190, 193, 194, 196, 197, 205, 208, 220, 223, 235, 238, 250, 253, 373, 376, 388, 391, 403, 406 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

See A194368.

LINKS

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

MATHEMATICA

r = Sqrt[3]; c = 1/3;

x[n_] := Sum[FractionalPart[k*r], {k, 1, n}]

y[n_] := Sum[FractionalPart[c + k*r], {k, 1, n}]

t1 = Table[If[y[n] < x[n], 1, 0], {n, 1, 150}];

Flatten[Position[t1, 1]]           (* A194415 *)

t2 = Table[If[y[n] == x[n], 1, 0], {n, 1, 300}];

Flatten[Position[t2, 1]]           (* A194416 *)

%/3                                (* A194417 *)

t3 = Table[If[y[n] > x[n], 1, 0], {n, 1, 500}];

Flatten[Position[t3, 1]]           (* A194418 *)

CROSSREFS

Cf. A194368.

Sequence in context: A060228 A190231 A191875 * A094764 A066468 A088769

Adjacent sequences:  A194415 A194416 A194417 * A194419 A194420 A194421

KEYWORD

nonn

AUTHOR

Clark Kimberling, Aug 24 2011

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 November 26 03:20 EST 2020. Contains 338632 sequences. (Running on oeis4.)