## [Maxima-bugs] [ maxima-Bugs-2919296 ] binomial sums

 [Maxima-bugs] [ maxima-Bugs-2919296 ] binomial sums From: SourceForge.net - 2009-12-22 21:56:47 ```Bugs item #2919296, was opened at 2009-12-22 13:51 Message generated for change (Comment added) made by alex108 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2919296&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: binomial sums Initial Comment: wanted to use this in my teaching but... load(simplify_sum); sum(binomial(n,x)*p^x*(1-p)^(n-x),x,0,n); simplify_sum(%) 0 sum(binomial(n,x)*0.3^x*(1-0.3)^(n-x),x,0,n); simplify_sum(%); rat: replaced 0.3 by 3/10 = 0.3 rat: replaced 0.7 by 7/10 = 0.7 rat: replaced 0.7 by 7/10 = 0.7 1 ---------------------------------------------------------------------- Comment By: Aleksas Domarkas (alex108) Date: 2009-12-22 23:56 Message: Do it like this: load(simplify_sum); sum(binomial(n,x)*p^x*q^(n-x),x,0,n); simplify_sum(%) (p+q)^n ---------------------------------------------------------------------- Comment By: Andrej Vodopivec (andrejv) Date: 2009-12-22 16:57 Message: This is a bug in the implementation of the Gosper algorithm from the Zeilberger package. A workaround for simplify_sum is to set Gosper_in_Zeilberger to false. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2919296&group_id=4933 ```

 [Maxima-bugs] [ maxima-Bugs-2919296 ] binomial sums From: SourceForge.net - 2009-12-22 11:51:36 ```Bugs item #2919296, was opened at 2009-12-22 11:51 Message generated for change (Tracker Item Submitted) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2919296&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: binomial sums Initial Comment: wanted to use this in my teaching but... load(simplify_sum); sum(binomial(n,x)*p^x*(1-p)^(n-x),x,0,n); simplify_sum(%) 0 sum(binomial(n,x)*0.3^x*(1-0.3)^(n-x),x,0,n); simplify_sum(%); rat: replaced 0.3 by 3/10 = 0.3 rat: replaced 0.7 by 7/10 = 0.7 rat: replaced 0.7 by 7/10 = 0.7 1 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2919296&group_id=4933 ```
 [Maxima-bugs] [ maxima-Bugs-2919296 ] binomial sums From: SourceForge.net - 2009-12-22 14:57:50 ```Bugs item #2919296, was opened at 2009-12-22 12:51 Message generated for change (Comment added) made by andrejv You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2919296&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: binomial sums Initial Comment: wanted to use this in my teaching but... load(simplify_sum); sum(binomial(n,x)*p^x*(1-p)^(n-x),x,0,n); simplify_sum(%) 0 sum(binomial(n,x)*0.3^x*(1-0.3)^(n-x),x,0,n); simplify_sum(%); rat: replaced 0.3 by 3/10 = 0.3 rat: replaced 0.7 by 7/10 = 0.7 rat: replaced 0.7 by 7/10 = 0.7 1 ---------------------------------------------------------------------- >Comment By: Andrej Vodopivec (andrejv) Date: 2009-12-22 15:57 Message: This is a bug in the implementation of the Gosper algorithm from the Zeilberger package. A workaround for simplify_sum is to set Gosper_in_Zeilberger to false. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2919296&group_id=4933 ```
 [Maxima-bugs] [ maxima-Bugs-2919296 ] binomial sums From: SourceForge.net - 2009-12-22 21:56:47 ```Bugs item #2919296, was opened at 2009-12-22 13:51 Message generated for change (Comment added) made by alex108 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2919296&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: binomial sums Initial Comment: wanted to use this in my teaching but... load(simplify_sum); sum(binomial(n,x)*p^x*(1-p)^(n-x),x,0,n); simplify_sum(%) 0 sum(binomial(n,x)*0.3^x*(1-0.3)^(n-x),x,0,n); simplify_sum(%); rat: replaced 0.3 by 3/10 = 0.3 rat: replaced 0.7 by 7/10 = 0.7 rat: replaced 0.7 by 7/10 = 0.7 1 ---------------------------------------------------------------------- Comment By: Aleksas Domarkas (alex108) Date: 2009-12-22 23:56 Message: Do it like this: load(simplify_sum); sum(binomial(n,x)*p^x*q^(n-x),x,0,n); simplify_sum(%) (p+q)^n ---------------------------------------------------------------------- Comment By: Andrej Vodopivec (andrejv) Date: 2009-12-22 16:57 Message: This is a bug in the implementation of the Gosper algorithm from the Zeilberger package. A workaround for simplify_sum is to set Gosper_in_Zeilberger to false. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2919296&group_id=4933 ```
 [Maxima-bugs] [ maxima-Bugs-2919296 ] binomial sums From: SourceForge.net - 2009-12-29 01:02:49 ```Bugs item #2919296, was opened at 2009-12-22 12:51 Message generated for change (Comment added) made by crategus You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2919296&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: binomial sums Initial Comment: wanted to use this in my teaching but... load(simplify_sum); sum(binomial(n,x)*p^x*(1-p)^(n-x),x,0,n); simplify_sum(%) 0 sum(binomial(n,x)*0.3^x*(1-0.3)^(n-x),x,0,n); simplify_sum(%); rat: replaced 0.3 by 3/10 = 0.3 rat: replaced 0.7 by 7/10 = 0.7 rat: replaced 0.7 by 7/10 = 0.7 1 ---------------------------------------------------------------------- >Comment By: Dieter Kaiser (crategus) Date: 2009-12-29 02:02 Message: I think the problem of this bug report has been fixed in simplify_sum.mac revison 1.28. Setting the status to pending and resolution to fixed. Dieter Kaiser ---------------------------------------------------------------------- Comment By: Aleksas Domarkas (alex108) Date: 2009-12-22 22:56 Message: Do it like this: load(simplify_sum); sum(binomial(n,x)*p^x*q^(n-x),x,0,n); simplify_sum(%) (p+q)^n ---------------------------------------------------------------------- Comment By: Andrej Vodopivec (andrejv) Date: 2009-12-22 15:57 Message: This is a bug in the implementation of the Gosper algorithm from the Zeilberger package. A workaround for simplify_sum is to set Gosper_in_Zeilberger to false. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2919296&group_id=4933 ```