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!)
A194765 Number of k such that {-k*2^(1/3)} > {-n*2^(1/3)}, where { } = fractional part. 3
0, 1, 2, 0, 2, 4, 6, 1, 4, 7, 10, 2, 6, 10, 14, 3, 8, 13, 18, 4, 10, 16, 22, 5, 12, 19, 0, 8, 16, 24, 2, 11, 20, 29, 4, 14, 24, 34, 6, 17, 28, 39, 8, 20, 32, 44, 10, 23, 36, 49, 12, 26, 40, 1, 16, 31, 46, 4, 20, 36, 52, 7, 24, 41, 58, 10, 28, 46, 64, 13, 32, 51, 70, 16, 36 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
MATHEMATICA
r = -2^(1/3); 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}] (* A194764 *)
Table[t[n], {n, 1, 100}] (* A194765 *)
CROSSREFS
Sequence in context: A182064 A194751 A194739 * A239229 A058210 A360860
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 25 08:27 EDT 2024. Contains 371964 sequences. (Running on oeis4.)