I find it interesting that the TI calculator used by the Khan Academy teacher solved the birthday problem by directly calculating the factorials of 365 and 365-30. In J I had to reduce the fraction first because 365 factorial shows as infinity in J , Can one solve Khan's birthday problem by using extended arithmetic and not have to reduce the factorials?
Skip On Tue, Feb 14, 2012 at 1:03 PM, Skip Cave <[email protected]> wrote: > Here's a one-liner direct-execution answer for the Khan Academy birthday > problem: > (365 ^ 30) %~ */ _30 {. >: i. 365 > 0.293684 > > > > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
