Svoboda | Graniru | BBC Russia | Golosameriki | Facebook
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!)

Revision History for A194817

(Underlined text is an addition; strikethrough text is a deletion.)

Showing all changes.
A194817 Number of integers k in [1,n] such that {n*r+k*r} < {n*r-k*r}, where { } = fractional part and r=sqrt(3).
(history; published version)
#10 by Michael De Vlieger at Sat Jun 25 10:01:38 EDT 2022
STATUS

proposed

approved

#9 by Michel Marcus at Sat Jun 25 05:36:23 EDT 2022
STATUS

editing

proposed

#8 by Michel Marcus at Sat Jun 25 05:36:20 EDT 2022
CROSSREFS

Cf. A002194, A194818, A194813.

STATUS

proposed

editing

#7 by Sean A. Irvine at Sat Jun 25 05:16:50 EDT 2022
STATUS

editing

proposed

#6 by Sean A. Irvine at Sat Jun 25 05:16:47 EDT 2022
CROSSREFS

Partial sums of A327180.

STATUS

approved

editing

#5 by Russ Cox at Fri Mar 30 18:57:44 EDT 2012
AUTHOR

_Clark Kimberling (ck6(AT)evansville.edu), _, Sep 03 2011

Discussion
Fri Mar 30 18:57
OEIS Server: https://oeis.org/edit/global/285
#4 by T. D. Noe at Sun Sep 04 00:00:59 EDT 2011
STATUS

proposed

approved

#3 by Clark Kimberling at Sat Sep 03 20:42:55 EDT 2011
STATUS

editing

proposed

#2 by Clark Kimberling at Sat Sep 03 10:55:26 EDT 2011
NAME

allocatedNumber of integers k in [1,n] such that {n*r+k*r} < {n*r-k*r}, where { } = fractional forpart Clarkand Kimberlingr=sqrt(3).

DATA

0, 1, 1, 2, 3, 4, 4, 4, 5, 5, 5, 5, 6, 6, 7, 8, 9, 9, 10, 11, 12, 12, 12, 13, 13, 13, 13, 14, 14, 15, 16, 17, 17, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 22, 23, 24, 24, 25, 26, 26, 26, 26, 27, 27, 28, 29, 30, 30, 31, 32, 33, 33, 33, 34, 34, 34, 34, 35, 35, 36, 37

OFFSET

1,4

MATHEMATICA

r = Sqrt[3]; p[x_] := FractionalPart[x];

u[n_, k_] := If[p[n*r + k*r] <= p[n*r - k*r], 1, 0]

v[n_, k_] := If[p[n*r + k*r] > p[n*r - k*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}] (* A194817 *)

Table[t[n], {n, 1, 100}] (* A194818 *)

CROSSREFS

Cf. A194818, A194813.

KEYWORD

allocated

nonn

AUTHOR

Clark Kimberling (ck6(AT)evansville.edu), Sep 03 2011

STATUS

approved

editing

#1 by Clark Kimberling at Sat Sep 03 10:25:51 EDT 2011
NAME

allocated for Clark Kimberling

KEYWORD

allocated

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 September 11 21:10 EDT 2024. Contains 375839 sequences. (Running on oeis4.)