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: [email protected]
Reporter: [email protected]
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._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs