Skip to main content
3 events
when toggle format what by license comment
Jan 9, 2013 at 16:27 comment added whuber Lorenzo, did you notice that f[x,n,0] is always $1/2$ for positive $n$? (Its other values tend to be incorrect, too, which becomes obvious when you plot them.) I think the problem is not with Nasser's solution, but with your recurrence: it does not correctly give the probability you are hoping to compute.
Jan 9, 2013 at 14:17 comment added Lorenzo Thank you. This was really usefull! Although I would like to understand why my example doesn't work...
Jan 9, 2013 at 11:49 history answered Nasser CC BY-SA 3.0