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!)
A194747 Number of k such that {k*sqrt(6)} > {n*sqrt(6)}, where { } = fractional part. 3
0, 0, 2, 1, 4, 2, 6, 3, 8, 4, 0, 7, 2, 10, 4, 13, 6, 16, 8, 0, 12, 3, 16, 6, 20, 9, 24, 12, 28, 15, 2, 20, 6, 25, 10, 30, 14, 35, 18, 1, 24, 6, 30, 11, 36, 16, 42, 21, 48, 26, 4, 33, 10, 40, 16, 47, 22, 54, 28, 2, 36, 9, 44, 16, 52, 23, 60, 30, 68, 37, 6, 46, 14, 55, 22, 64 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
MATHEMATICA
r = Sqrt[6]; 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}] (* A194746 *)
Table[t[n], {n, 1, 100}] (* A194747 *)
CROSSREFS
Sequence in context: A130742 A130107 A107130 * A065423 A239242 A340621
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 April 19 16:52 EDT 2024. Contains 371794 sequences. (Running on oeis4.)