An expansion from Ramanujan related to birthday problemConcentration bound using Azuma's inequality and Law of total probabilityAsymptotic Expansion of Distribution in Central Limit Theorem for Non-Identically Distributed Random VariablesGeneralization on Coupon Collector's ProblemAn extrasensory perception strategy :-)Distribution of infinity-norm over the unit sphereExplicitly representing a random variable in terms of indicator functionsConcentration inequalities on the supremum of average after time $n$Iterated logarithm and gaussian concentration : a paradoxTranscendental functions generating almost integersExpectation of maximum of multivariate Gaussian

An expansion from Ramanujan related to birthday problem


Concentration bound using Azuma's inequality and Law of total probabilityAsymptotic Expansion of Distribution in Central Limit Theorem for Non-Identically Distributed Random VariablesGeneralization on Coupon Collector's ProblemAn extrasensory perception strategy :-)Distribution of infinity-norm over the unit sphereExplicitly representing a random variable in terms of indicator functionsConcentration inequalities on the supremum of average after time $n$Iterated logarithm and gaussian concentration : a paradoxTranscendental functions generating almost integersExpectation of maximum of multivariate Gaussian













5












$begingroup$


I want to compute the expectation to get the first match which is not difficult (See section 5.6, "average number of people").



My question is how to prove the Ramanujan's formula given there,



$$ Q(M)=sum_k=1^M fracM!(M-k)! M^ksimsqrtfracpi M2-frac13+frac112sqrtfracpi2M-frac4135M+cdots$$



Any good reference available?










share|cite|improve this question











$endgroup$
















    5












    $begingroup$


    I want to compute the expectation to get the first match which is not difficult (See section 5.6, "average number of people").



    My question is how to prove the Ramanujan's formula given there,



    $$ Q(M)=sum_k=1^M fracM!(M-k)! M^ksimsqrtfracpi M2-frac13+frac112sqrtfracpi2M-frac4135M+cdots$$



    Any good reference available?










    share|cite|improve this question











    $endgroup$














      5












      5








      5





      $begingroup$


      I want to compute the expectation to get the first match which is not difficult (See section 5.6, "average number of people").



      My question is how to prove the Ramanujan's formula given there,



      $$ Q(M)=sum_k=1^M fracM!(M-k)! M^ksimsqrtfracpi M2-frac13+frac112sqrtfracpi2M-frac4135M+cdots$$



      Any good reference available?










      share|cite|improve this question











      $endgroup$




      I want to compute the expectation to get the first match which is not difficult (See section 5.6, "average number of people").



      My question is how to prove the Ramanujan's formula given there,



      $$ Q(M)=sum_k=1^M fracM!(M-k)! M^ksimsqrtfracpi M2-frac13+frac112sqrtfracpi2M-frac4135M+cdots$$



      Any good reference available?







      pr.probability approximation-theory






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Jun 21 at 12:15









      Carlo Beenakker

      84.7k9 gold badges201 silver badges306 bronze badges




      84.7k9 gold badges201 silver badges306 bronze badges










      asked Jun 21 at 9:18









      UpcUpc

      1573 bronze badges




      1573 bronze badges




















          2 Answers
          2






          active

          oldest

          votes


















          6












          $begingroup$

          A crystal clear derivation using only elementary calculus is given by Donald Knuth on page 116-121 of The Art of Computer Programming (volume 1).



          I reproduce the first and the last paragraphs of Knuth's exposition:








          share|cite|improve this answer











          $endgroup$




















            5












            $begingroup$

            We have $$Q(n)=sum_k=0^n-1 (1-1/n)(1-2/n)ldots(1-k/n).$$
            Write $1-x/n=e^-x/n-x^2/(2n^2)-ldots$, then
            $$Q(n)=sum_k=0^n-1 expleft(-frack(k+1)2n-frack(k+1)(2k+1)12n^2-ldotsright).$$
            If $kgeqslant n^1/2+0.00001$, the corresponding summands are super-polynomially small and do not rely on the asymptotics. For $k<n^1/2+0.00001$ , the first few summands in the expansion define it with good accuracy ($n$ to any prescribed negative power) and we get a standard problem of the asymptotics of $sum_k g(k)$ for $g(k)=exp(-frack(k+1)2n-frack(k+1)(2k+1)12n^2)$, say. It is obtained by Euler–Maclaurin. The main term comes from the approximation of $sum_k exp(-k^2/(2n))$ by $int_0^infty exp(-x^2/(2n))dx=sqrtpi n/2$.






            share|cite|improve this answer









            $endgroup$















              Your Answer








              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "504"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              noCode: true, onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathoverflow.net%2fquestions%2f334485%2fan-expansion-from-ramanujan-related-to-birthday-problem%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              6












              $begingroup$

              A crystal clear derivation using only elementary calculus is given by Donald Knuth on page 116-121 of The Art of Computer Programming (volume 1).



              I reproduce the first and the last paragraphs of Knuth's exposition:








              share|cite|improve this answer











              $endgroup$

















                6












                $begingroup$

                A crystal clear derivation using only elementary calculus is given by Donald Knuth on page 116-121 of The Art of Computer Programming (volume 1).



                I reproduce the first and the last paragraphs of Knuth's exposition:








                share|cite|improve this answer











                $endgroup$















                  6












                  6








                  6





                  $begingroup$

                  A crystal clear derivation using only elementary calculus is given by Donald Knuth on page 116-121 of The Art of Computer Programming (volume 1).



                  I reproduce the first and the last paragraphs of Knuth's exposition:








                  share|cite|improve this answer











                  $endgroup$



                  A crystal clear derivation using only elementary calculus is given by Donald Knuth on page 116-121 of The Art of Computer Programming (volume 1).



                  I reproduce the first and the last paragraphs of Knuth's exposition:









                  share|cite|improve this answer














                  share|cite|improve this answer



                  share|cite|improve this answer








                  edited Jun 21 at 12:04

























                  answered Jun 21 at 10:10









                  Carlo BeenakkerCarlo Beenakker

                  84.7k9 gold badges201 silver badges306 bronze badges




                  84.7k9 gold badges201 silver badges306 bronze badges





















                      5












                      $begingroup$

                      We have $$Q(n)=sum_k=0^n-1 (1-1/n)(1-2/n)ldots(1-k/n).$$
                      Write $1-x/n=e^-x/n-x^2/(2n^2)-ldots$, then
                      $$Q(n)=sum_k=0^n-1 expleft(-frack(k+1)2n-frack(k+1)(2k+1)12n^2-ldotsright).$$
                      If $kgeqslant n^1/2+0.00001$, the corresponding summands are super-polynomially small and do not rely on the asymptotics. For $k<n^1/2+0.00001$ , the first few summands in the expansion define it with good accuracy ($n$ to any prescribed negative power) and we get a standard problem of the asymptotics of $sum_k g(k)$ for $g(k)=exp(-frack(k+1)2n-frack(k+1)(2k+1)12n^2)$, say. It is obtained by Euler–Maclaurin. The main term comes from the approximation of $sum_k exp(-k^2/(2n))$ by $int_0^infty exp(-x^2/(2n))dx=sqrtpi n/2$.






                      share|cite|improve this answer









                      $endgroup$

















                        5












                        $begingroup$

                        We have $$Q(n)=sum_k=0^n-1 (1-1/n)(1-2/n)ldots(1-k/n).$$
                        Write $1-x/n=e^-x/n-x^2/(2n^2)-ldots$, then
                        $$Q(n)=sum_k=0^n-1 expleft(-frack(k+1)2n-frack(k+1)(2k+1)12n^2-ldotsright).$$
                        If $kgeqslant n^1/2+0.00001$, the corresponding summands are super-polynomially small and do not rely on the asymptotics. For $k<n^1/2+0.00001$ , the first few summands in the expansion define it with good accuracy ($n$ to any prescribed negative power) and we get a standard problem of the asymptotics of $sum_k g(k)$ for $g(k)=exp(-frack(k+1)2n-frack(k+1)(2k+1)12n^2)$, say. It is obtained by Euler–Maclaurin. The main term comes from the approximation of $sum_k exp(-k^2/(2n))$ by $int_0^infty exp(-x^2/(2n))dx=sqrtpi n/2$.






                        share|cite|improve this answer









                        $endgroup$















                          5












                          5








                          5





                          $begingroup$

                          We have $$Q(n)=sum_k=0^n-1 (1-1/n)(1-2/n)ldots(1-k/n).$$
                          Write $1-x/n=e^-x/n-x^2/(2n^2)-ldots$, then
                          $$Q(n)=sum_k=0^n-1 expleft(-frack(k+1)2n-frack(k+1)(2k+1)12n^2-ldotsright).$$
                          If $kgeqslant n^1/2+0.00001$, the corresponding summands are super-polynomially small and do not rely on the asymptotics. For $k<n^1/2+0.00001$ , the first few summands in the expansion define it with good accuracy ($n$ to any prescribed negative power) and we get a standard problem of the asymptotics of $sum_k g(k)$ for $g(k)=exp(-frack(k+1)2n-frack(k+1)(2k+1)12n^2)$, say. It is obtained by Euler–Maclaurin. The main term comes from the approximation of $sum_k exp(-k^2/(2n))$ by $int_0^infty exp(-x^2/(2n))dx=sqrtpi n/2$.






                          share|cite|improve this answer









                          $endgroup$



                          We have $$Q(n)=sum_k=0^n-1 (1-1/n)(1-2/n)ldots(1-k/n).$$
                          Write $1-x/n=e^-x/n-x^2/(2n^2)-ldots$, then
                          $$Q(n)=sum_k=0^n-1 expleft(-frack(k+1)2n-frack(k+1)(2k+1)12n^2-ldotsright).$$
                          If $kgeqslant n^1/2+0.00001$, the corresponding summands are super-polynomially small and do not rely on the asymptotics. For $k<n^1/2+0.00001$ , the first few summands in the expansion define it with good accuracy ($n$ to any prescribed negative power) and we get a standard problem of the asymptotics of $sum_k g(k)$ for $g(k)=exp(-frack(k+1)2n-frack(k+1)(2k+1)12n^2)$, say. It is obtained by Euler–Maclaurin. The main term comes from the approximation of $sum_k exp(-k^2/(2n))$ by $int_0^infty exp(-x^2/(2n))dx=sqrtpi n/2$.







                          share|cite|improve this answer












                          share|cite|improve this answer



                          share|cite|improve this answer










                          answered Jun 21 at 10:13









                          Fedor PetrovFedor Petrov

                          54.1k6 gold badges128 silver badges247 bronze badges




                          54.1k6 gold badges128 silver badges247 bronze badges



























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to MathOverflow!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              Use MathJax to format equations. MathJax reference.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathoverflow.net%2fquestions%2f334485%2fan-expansion-from-ramanujan-related-to-birthday-problem%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Grendel Contents Story Scholarship Depictions Notes References Navigation menu10.1093/notesj/gjn112Berserkeree

                              Area configuration aggregation error after install Porto themeMagento 2.1 CE Installed but front/backend not loading/workingCSS not loading on page within Magento 2 pageCannot install module in Magento 2no commands defined in the “setup” namespace. in Magento2Magento 2: Static files are present but shows 404Why do i have to always run the commands to clean cache in Magento 2.1.8?Failure reason: 'Unable to unserialize value.'Error 500 after magento migrationIn production mode the site does not loadMagento 2 : Error 500 after installing

                              Middle Expansion Olielle Resaix Definition: Uttering songs of triumph shouting with joy triumphant exulting Sejunction Journal 붙다 달 고급 품목 외출 The stretch trades the screeching tin. Definition: The act of speaking with a drawl a drawl Cough Sand Definition: An uproar a quarrel a noisy outbreak Shake Iron Publicize Horse House Baby 사과 Resaix Flaggy Jelly Temporary Unequaled Puppet A drop in the bucket Shrew 성격 회원 성질 미팅 The burn frames the tacky quality. Materialistic The smoke reduces the way. Yammoe Nondescript Cheek 얼굴 배 약하다 날리다 타다 The illegal country shows the iron. Help Rule Drearien Smoke Teaching Meaty Wasp Abraham Lincoln Jaws 진심 수리하다 Size Cork Idea Convert Think Lark John Lennon 거울 청소 군 추천하다 아이스크림