login
A194403
(A194402)/2.
5
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 13, 14, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 30, 31, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 49, 50, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 66, 67, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 85, 86, 89
OFFSET
1,2
COMMENTS
See A194368.
MATHEMATICA
r = GoldenRatio; 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, 200}];
Flatten[Position[t1, 1]] (* A194401 *)
t2 = Table[If[y[n] == x[n], 1, 0], {n, 1, 200}];
Flatten[Position[t2, 1]] (* A194402 *)
%/2 (* A194403 *)
t3 = Table[If[y[n] > x[n], 1, 0], {n, 1, 200}];
Flatten[Position[t3, 1]] (* A194404 *)
CROSSREFS
Cf. A194368.
Sequence in context: A336813 A209860 A287513 * A305707 A161979 A247810
KEYWORD
nonn
AUTHOR
Clark Kimberling, Aug 24 2011
STATUS
approved