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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A194746 Number of k such that {k*sqrt(6)} < {n*sqrt(6)}, where { } = fractional part. 3
1, 2, 1, 3, 1, 4, 1, 5, 1, 6, 11, 5, 11, 4, 11, 3, 11, 2, 11, 20, 9, 19, 7, 18, 5, 17, 3, 16, 1, 15, 29, 12, 27, 9, 25, 6, 23, 3, 21, 39, 17, 36, 13, 33, 9, 30, 5, 27, 1, 24, 47, 19, 43, 14, 39, 9, 35, 4, 31, 58, 25, 53, 19, 48, 13, 43, 7, 38, 1, 33, 65, 26, 59, 19, 53, 12 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

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

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

Cf. A194747, A194738.

Sequence in context: A090331 A229994 A165818 * A198336 A290980 A007381

Adjacent sequences:  A194743 A194744 A194745 * A194747 A194748 A194749

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 18 15:44 EDT 2019. Contains 325144 sequences. (Running on oeis4.)