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!)
A194668 Number of k in [1,n] for which <n*r>+<k*r> > 1, where < > = fractional part and r = sqrt(3); row sums of A164667. 4
1, 1, 0, 4, 4, 3, 1, 7, 6, 3, 0, 9, 7, 3, 15, 12, 8, 3, 18, 14, 9, 3, 20, 15, 8, 1, 21, 14, 6, 29, 22, 14, 5, 31, 23, 13, 3, 31, 22, 11, 0, 31, 20, 8, 42, 31, 19, 6, 43, 31, 17, 3, 42, 29, 14, 56, 42, 27, 11, 56, 41, 25, 8, 55, 39, 21, 3, 53, 36, 17, 70, 52, 33, 13, 69, 50 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
MATHEMATICA
r = Sqrt[3]; z = 13;
p[x_] := FractionalPart[x]; f[x_] := Floor[x];
w[n_, k_] := p[r^n] + p[r^k] - p[r^n + r^k]
Flatten[Table[w[n, k], {n, 1, z}, {k, 1, n}]]
TableForm[Table[w[n, k], {n, 1, z}, {k, 1, n}]]
s[n_] := Sum[w[n, k], {k, 1, n}] (* A194666 *)
Table[s[n], {n, 1, 100}]
h[n_, k_] := f[p[n*r] + p[k*r]]
Flatten[Table[h[n, k], {n, 1, z}, {k, 1, n}]]
(* A194667 *)
TableForm[Table[h[n, k], {n, 1, z}, {k, 1, n}]]
t[n_] := Sum[h[n, k], {k, 1, n}]
Table[t[n], {n, 1, 100}] (* A194668 *)
CROSSREFS
Cf. A194667.
Sequence in context: A016497 A259259 A369882 * A138160 A364128 A120886
KEYWORD
nonn
AUTHOR
Clark Kimberling, Sep 01 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 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)