Re: [CFRG] Combinitorics probabilities

David Jacobson <david@dmjacobson.com> Mon, 08 August 2022 21:37 UTC

Return-Path: <david@dmjacobson.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BB773C15A724 for <cfrg@ietfa.amsl.com>; Mon, 8 Aug 2022 14:37:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.107
X-Spam-Level:
X-Spam-Status: No, score=-7.107 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=dmjacobson.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id toDD0_96NBhb for <cfrg@ietfa.amsl.com>; Mon, 8 Aug 2022 14:37:23 -0700 (PDT)
Received: from mail-4317.proton.ch (mail-4317.proton.ch [185.70.43.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7FF3EC15A730 for <cfrg@ietf.org>; Mon, 8 Aug 2022 14:37:05 -0700 (PDT)
Date: Mon, 08 Aug 2022 21:36:47 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dmjacobson.com; s=protonmail3; t=1659994622; x=1660253822; bh=Cr6RuvoTUtQZbdYzncSkaP210BU0I14O9nygaVT69uA=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=JKS6vSuqmNFsw64VLv3in3mXaX/AqBqqhc65JptbP4Oy4S4OOIuc0ZDdLfoZlXNE1 EfCn4ruamN4LbeoCSFmX7f35sBfKmKjrNaXUiboPbfK35oAdJUeBeiMtaD4Kqcm716 27mcSHxUuvUx8f6/RGSHqzD2LGHaY+qHe/0CPkHDKOhF0Qsh7u4cu/qWePyuUNs1ox rLDxUSczfzcJdDXuKRWQYYdMhcX6lYl2AJzlZJMzm+OQFOYyNhTFny6xs6sCrVS0yr +iecEDyTDyKhvlz1DiepR/3VTHv3p8//lNXK82256WmknytkIc1x1NzaP17atALFcR 2PDpeaH5R8JYA==
To: Robert Moskowitz <rgm-sec@htt-consult.com>
From: David Jacobson <david@dmjacobson.com>
Cc: Taylor R Campbell <campbell+cfrg@mumble.net>, cfrg@ietf.org
Reply-To: David Jacobson <david@dmjacobson.com>
Message-ID: <4487BD0B-4D65-41B2-AACA-52DCD9DE6201@dmjacobson.com>
In-Reply-To: <b9d8aa72-8f3b-6e6a-200d-bc152b590d3b@htt-consult.com>
References: <20220808210614.7D708608D6@jupiter.mumble.net> <b9d8aa72-8f3b-6e6a-200d-bc152b590d3b@htt-consult.com>
Feedback-ID: 9147119:user:proton
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/C_Vxk0IR1WHLM24Qy4solnJKnow>
Subject: Re: [CFRG] Combinitorics probabilities
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Aug 2022 21:37:28 -0000

I played with this in Mathematica and got this result

(Beta[p, m, 1 - m + n] Gamma[1 + n])/(Gamma[m] Gamma[1 - m + n])    This assumes that m >= 1 && m <= n.

And Beta(a, b) = (a-1)! * (b-1)!  /  (a+b-1)!


Here is the Mathematica input that got me the result:

Assuming[{x, m, n} \[Element] Integers && 0 < p < 1,
 Probability[x >= m, x \[Distributed] BinomialDistribution[n, p]]]

   —David Jacobson




> On Aug 8, 2022, at 2:17 PM, Robert Moskowitz <rgm-sec@htt-consult.com> wrote:
>
>
>
> On 8/8/22 17:06, Taylor R Campbell wrote:
>>> Date: Mon, 8 Aug 2022 16:58:45 -0400
>>> From: Robert Moskowitz <rgm-sec@htt-consult.com>
>>>
>>> Well I spent the afternoon googling, but my search foo is weak.
>>>
>>> I want the formula for the probablity of receiving at least m out of n
>>> messages given the probablity of receiving any message is p.
>> This sounds like the coupon collector's problem?
>>
>> https://en.wikipedia.org/wiki/Coupon_collector%27s_problem
>
> Close, but I can't map this to my problem in packet reception.
>
> _______________________________________________
> CFRG mailing list
> CFRG@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg