The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A194403 (A194402)/2. 5

%I #5 Mar 30 2012 18:57:43

%S 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,

%T 35,36,37,38,39,40,41,42,43,44,45,46,49,50,53,54,55,56,57,58,59,60,61,

%U 62,63,66,67,70,71,72,73,74,75,76,77,78,79,80,81,82,85,86,89

%N (A194402)/2.

%C See A194368.

%t r = GoldenRatio; c = 1/2;

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

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

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

%t Flatten[Position[t1, 1]] (* A194401 *)

%t t2 = Table[If[y[n] == x[n], 1, 0], {n, 1, 200}];

%t Flatten[Position[t2, 1]] (* A194402 *)

%t %/2 (* A194403 *)

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

%t Flatten[Position[t3, 1]] (* A194404 *)

%Y Cf. A194368.

%K nonn

%O 1,2

%A _Clark Kimberling_, Aug 24 2011

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.

Last modified June 12 23:56 EDT 2024. Contains 373362 sequences. (Running on oeis4.)