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!)
A194383 a(n) = (1/2) * A194382(n). 5
2, 3, 5, 6, 8, 9, 11, 12, 14, 15, 17, 20, 23, 26, 29, 32, 52, 55, 58, 61, 64, 67, 69, 70, 72, 73, 75, 76, 78, 79, 81, 82, 84, 85, 86, 88, 89, 91, 92, 94, 95, 97, 98, 100, 101, 102, 104, 105, 107, 108, 110, 111, 113, 114, 116, 117, 119, 122, 125, 128, 131, 134 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
See A194368.
LINKS
MATHEMATICA
r = Sqrt[8]; c = 1/2;
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, 100}];
Flatten[Position[t1, 1]] (* A194381 *)
t2 = Table[If[y[n] == x[n], 1, 0], {n, 1, 300}];
Flatten[Position[t2, 1]] (* A194382 *)
%/2 (* A194383 *)
t3 = Table[If[y[n] > x[n], 1, 0], {n, 1, 600}];
Flatten[Position[t3, 1]] (* A194384 *)
CROSSREFS
Sequence in context: A332076 A248562 A117672 * A186326 A139364 A364000
KEYWORD
nonn
AUTHOR
Clark Kimberling, Aug 23 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 18 18:58 EDT 2024. Contains 371781 sequences. (Running on oeis4.)