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!)
A194753 Number of k such that {-k*e} > {-n*e}, where { } = fractional part. 3
0, 0, 0, 3, 2, 1, 0, 6, 4, 2, 10, 7, 4, 1, 12, 8, 4, 17, 12, 7, 2, 18, 12, 6, 24, 17, 10, 3, 24, 16, 8, 31, 22, 13, 4, 30, 20, 10, 0, 29, 18, 7, 38, 26, 14, 2, 36, 23, 10, 46, 32, 18, 4, 43, 28, 13, 54, 38, 22, 6, 50, 33, 16, 62, 44, 26, 8, 57, 38, 19, 70, 50, 30, 10, 64 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
MATHEMATICA
r = -E; p[x_] := FractionalPart[x];
u[n_, k_] := If[p[k*r] <= p[n*r], 1, 0]
v[n_, k_] := If[p[k*r] > p[n*r], 1, 0]
s[n_] := Sum[u[n, k], {k, 1, n}]
t[n_] := Sum[v[n, k], {k, 1, n}]
Table[s[n], {n, 1, 100}] (* A194752 *)
Table[t[n], {n, 1, 100}] (* A194753 *)
CROSSREFS
Cf. A194752.
Sequence in context: A051427 A194763 A194741 * A359400 A323908 A098825
KEYWORD
nonn
AUTHOR
Clark Kimberling, Sep 02 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 May 2 04:48 EDT 2024. Contains 372178 sequences. (Running on oeis4.)