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!)
A194748 Number of k such that {-k*sqrt(6)} < {-n*sqrt(6)}, where { } = fractional part. 3
1, 1, 3, 2, 5, 3, 7, 4, 9, 5, 1, 8, 3, 11, 5, 14, 7, 17, 9, 1, 13, 4, 17, 7, 21, 10, 25, 13, 29, 16, 3, 21, 7, 26, 11, 31, 15, 36, 19, 2, 25, 7, 31, 12, 37, 17, 43, 22, 49, 27, 5, 34, 11, 41, 17, 48, 23, 55, 29, 3, 37, 10, 45, 17, 53, 24, 61, 31, 69, 38, 7, 47, 15, 56, 23 (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}] (* A194748 *)
Table[t[n], {n, 1, 100}] (* A194749 *)
CROSSREFS
Sequence in context: A367727 A318516 A367728 * A323462 A030640 A176447
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 17 23:23 EDT 2024. Contains 371767 sequences. (Running on oeis4.)