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!)
A194749 Number of k such that {-k*sqrt(6)} > {-n*sqrt(6)}, where { } = fractional part. 3
0, 1, 0, 2, 0, 3, 0, 4, 0, 5, 10, 4, 10, 3, 10, 2, 10, 1, 10, 19, 8, 18, 6, 17, 4, 16, 2, 15, 0, 14, 28, 11, 26, 8, 24, 5, 22, 2, 20, 38, 16, 35, 12, 32, 8, 29, 4, 26, 0, 23, 46, 18, 42, 13, 38, 8, 34, 3, 30, 57, 24, 52, 18, 47, 12, 42, 6, 37, 0, 32, 64, 25, 58, 18, 52, 11 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
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}] (* A194748 *)
Table[t[n], {n, 1, 100}] (* A194749 *)
CROSSREFS
Sequence in context: A008802 A008809 A008821 * A284969 A097852 A008801
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 August 13 20:02 EDT 2024. Contains 375144 sequences. (Running on oeis4.)