OFFSET
0,3
COMMENTS
Sandefur shows that if the probability of winning any particular point in a tennis match is p, the fraction of the games won would be f(p).
LINKS
James Sandefur, A Geometric Series from Tennis, The College Mathematics Journal, Vol. 36, No. 3 (May, 2005), pp. 224-226.
FORMULA
a(n) = g(n) + h(n), where g(n) = floor(n^2 * (-4*n^3 + 10*n^2 - 5*n - 5/2) + 1) and h(n) = [1 if n=0; 2 if n=1; -1 if n=3,5,6; 0 if n=4 or n>6]
MATHEMATICA
a[n_] := Floor[n^4*(15 - 24*n + 10 n^2) + 20*n^5*(1 - n)^3/(1 - 2*n*(1 - n))]; Array[a, 30, 0] (* Amiram Eldar, Aug 12 2022 *)
PROG
(Python)
def a(n):
return n**4 * (15-24*n+10*n**2) + 20*n**5 * (1-n)**3 // (1-2*n*(1-n))
CROSSREFS
KEYWORD
sign
AUTHOR
Christoph B. Kassir, Aug 12 2022
STATUS
approved