[Libreoffice-bugs] [Bug 125603] New: combina(n, r) function should work even when r>n
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri May 31 06:47:16 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=125603
Bug ID: 125603
Summary: combina(n,r) function should work even when r>n
Product: LibreOffice
Version: 6.2.4.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: bettadarasa at gmail.com
Created attachment 151798
--> https://bugs.documentfoundation.org/attachment.cgi?id=151798&action=edit
Err. for combina(2,3) which should otherwise be 4.
combina(n,r), i. e., combination with repetition should work even when r>n, For
example combina(2,3)=4 because consider the combinations 000, 001, 011, 111 are
the combinations of {0,1} i.e., two items (n=2) r=3 (here) with repetitions has
four possibilities. General formula ((n,r))= (n+r-1, r) should work when both n
and r are non zero.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190531/aa6c9554/attachment.html>
More information about the Libreoffice-bugs
mailing list