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!)
A194424 (A194423)/3. 5

%I #11 Apr 03 2018 08:13:48

%S 1,2,3,4,5,6,7,8,9,10,11,12,14,15,16,18,19,20,22,23,25,26,27,29,30,31,

%T 33,34,35,36,37,38,39,40,41,42,43,44,45,47,48,49,51,52,53,55,56,57,61,

%U 65,80,81,82,84,85,86,88,89,90,94,98

%N (A194423)/3.

%C See A194368.

%H G. C. Greubel, <a href="/A194424/b194424.txt">Table of n, a(n) for n = 1..2043</a>

%t r = Sqrt[2]; c = 2/3;

%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, 300}];

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

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

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

%t %/3 (* A194424 *)

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

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

%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.

License Agreements, Terms of Use, Privacy Policy. .

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