[net.lang.apl] another APL-related probability problem

gjohnson@cornell.UUCP (08/29/83)

Here is another probability problem suggested by APL:

    What are the odds of receiving various outcomes
    after typing in
	 ??? 6 
    
    More generally, what if I type in K '?'s and follow
    them by the integer 'N'?

In English, say I roll a die with N sides, and it comes
up x1.  I then roll a die with x1 sides, and it comes up
x2.  I repeat the process k times.  What is the probability
distribution for xk?
					- Greg Johnson
					  cornell!gjohnson
					  gjohnson@cornell