login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

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

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

Cf. A194749, A194738.

Sequence in context: A165342 A076605 A318516 * A323462 A030640 A176447

Adjacent sequences:  A194745 A194746 A194747 * A194749 A194750 A194751

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 July 31 10:51 EDT 2021. Contains 346373 sequences. (Running on oeis4.)