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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A106199 a(n)=numerator of the probability that (x-y)/(x+y)+(y-z)/(y+z)+(z-u)/(z+u)+ (u-x)/(u+x)>0, assuming that each random quadruple of integers (x,y,z,u), with a<=x,y,z,u<=n, is equally likely. 1
0, 0, 4, 15, 36, 103, 832, 187, 2500, 981, 5904, 133, 11944, 1018, 21716, 3551, 36568, 3859, 57936, 559, 87464, 6619, 127156, 37835, 178916, 52517, 245116, 71083, 328180, 94187, 430688, 122529, 555508, 156813, 705696, 98899, 884432, 123199 (list; graph; refs; listen; history; internal format)
OFFSET

1,3

COMMENTS

Denominators form A106200.

REFERENCES

E. Deutsch and M. S. Klamkin, Problem 10540, Amer. Math. Monthly 108, (2001), p. 172.

FORMULA

a(n)=numerator of [n(n-1)(n^2-n-1)+4sum(floor(n/(k^2))*phi(k), k=2...floor(sqrt(n)))-2sum(floor(n/k)^2*phi(k), k=2... n)]/(2n^4).

EXAMPLE

a(3)=4 because at the 81 quadruples (x,y,z,u) (1<=x,y,z,u<=3) the function

(x-y)/(x+y)+(y-z)/(y+z)+(z-u)/(z+u)+(u-x)/(u+x) assumes twelve times the value 1/30, twelve times the value -1/30 and fiftyseven times the value 0; then the considered probablity is 12/81=4/27.

0,0,4/27,15/64,36/125,103/324,832/2401

MAPLE

with(numtheory): a:=n*(n-1)*(n^2-n-1): b:=4*sum(floor(n/k^2)*phi(k), k=2..floor(sqrt(n))): c:=2*sum((floor(n/k))^2*phi(k), k=2..n): p:=proc(n) (a+b-c)/2/n^4 end: seq(numer(simplify(p(n))), n=1..45);

CROSSREFS

Cf. A106200.

Sequence in context: A190093 A077414 A015653 * A113289 A033813 A112666

Adjacent sequences:  A106196 A106197 A106198 * A106200 A106201 A106202

KEYWORD

frac,nonn

AUTHOR

Emeric Deutsch (deutsch(AT)duke.poly.edu), Apr 24 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 06:27 EST 2012. Contains 205998 sequences.