login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Please make a donation to keep the OEIS running. In 2018 we replaced the server with a faster one, added 20000 new sequences, and reached 7000 citations (often saying "discovered thanks to the OEIS").
Other ways to donate

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

Table of n, a(n) for n=1..75.

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 * A098825 A111460 A035327

Adjacent sequences:  A194750 A194751 A194752 * A194754 A194755 A194756

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 12 19:33 EST 2018. Contains 318081 sequences. (Running on oeis4.)