login
Number of daughters to wait before picking in the sultan's dowry problem that is not equal to round(n*e^(-1 - 1/(2*n))).
2

%I #13 Dec 25 2023 17:55:33

%S 97,1361,24586,73757

%N Number of daughters to wait before picking in the sultan's dowry problem that is not equal to round(n*e^(-1 - 1/(2*n))).

%C Numbers n such that A054404(n) is not equal to A226033(n).

%t li[n_] := -1/2* 1/ProductLog[-Exp[1 - 1/((2 n - 2))]/(2n-2)]; Table[If[! Round[n*E^(-1 - 1/(2*n))] == Ceiling[li[n]], Print[n]; n], {n, 4, 1000000}]

%Y Cf. A054404, A226033.

%K nonn,hard

%O 1,1

%A _José María Grau Ribas_, May 25 2013