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!)
A226243 Denominators of the probability of success in sultan's dowry problem with n daughters. 3
1, 2, 2, 24, 30, 180, 70, 1120, 840, 8400, 630, 83160, 72072, 1009008, 1081080, 192192, 408408, 7351344, 2217072, 8868288, 203693490, 71131060, 74364290, 4759314560, 14872858000, 77338861600, 72282089880 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
Eric Weisstein's World of Mathematics, Sultan's Dowry Problem.
Wikipedia, Secretary problem.
EXAMPLE
1, 1/2, 1/2, 11/24, 13/30, 77/180, 29/70, 459/1120, ...
MATHEMATICA
G[k_, n_] := G[k, n] = 1/( k + 1) Max[(k + 1)/n, G[k + 1, n]] + k/(k + 1)G[k + 1, n]; G[n_, n_] = 0; Denominator@Table[G[0, n], {n, 1, 20}]
PROG
(PARI) a(n)={my(g=0); forstep(k=n-1, 0, -1, g = max(1/n, g/(k+1)) + k*g/(k+1)); denominator(g)} \\ Andrew Howroyd, Nov 12 2018
CROSSREFS
Cf. A226242(numerators), A054404.
Sequence in context: A224479 A279311 A248812 * A226979 A261517 A131448
KEYWORD
nonn,frac
AUTHOR
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 16 14:17 EDT 2024. Contains 371740 sequences. (Running on oeis4.)