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!)
A194465 Numbers m such that Sum_{k=1..m} (<c + k*r> - <k*r>) < 0, where r=sqrt(2) and c=sqrt(1/2), and < > denotes fractional part. 1
1, 2, 4, 7, 8, 9, 11, 12, 13, 14, 15, 16, 18, 19, 21, 24, 25, 26, 28, 31, 38, 41, 42, 43, 45, 48, 49, 50, 52, 53, 54, 55, 56, 57, 59, 60, 62, 65, 66, 67, 69, 70, 71, 72, 73, 74, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 93, 94, 95, 96, 97, 98 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
See A194368.
LINKS
MATHEMATICA
r = Sqrt[2]; c = 1/r;
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, 200}];
Flatten[Position[t1, 1]] (* A184465 *)
t3 = Table[If[y[n] > x[n], 1, 0], {n, 1, 200}];
Flatten[Position[t3, 1]] (* A184466 *)
CROSSREFS
Cf. A194368.
Sequence in context: A121619 A167500 A010377 * A352246 A359585 A035261
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 01:06 EDT 2024. Contains 371964 sequences. (Running on oeis4.)