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!)
A194464 Numbers m such that Sum_{k=1..m} (<c + k*r> - <k*r>) > 0, where r=(1+sqrt(5))/2 and c=(1+sqrt(5))/4, and < > denotes fractional part. 1

%I #9 Feb 14 2021 21:40:26

%S 5,10,13,14,15,18,19,20,26,31,34,35,36,39,40,41,47,52,68,73,89,94,99,

%T 102,103,104,107,108,109,115,120,123,124,125,128,129,130,136,141,157,

%U 162,178,183,188,191,192,193,196,197,198,204,209,212,213,214,217

%N Numbers m such that Sum_{k=1..m} (<c + k*r> - <k*r>) > 0, where r=(1+sqrt(5))/2 and c=(1+sqrt(5))/4, and < > denotes fractional part.

%C See A194368.

%t r = GoldenRatio; c = FractionalPart[r/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]] (* A184463 *)

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

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

%Y Cf. A194368.

%K nonn

%O 1,1

%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 19 04:35 EDT 2024. Contains 371782 sequences. (Running on oeis4.)