^ :lol: I've had a little practice at guessing the meanings of sentences written in unfamiliar languages because of a trivia site I visit occasionally...
I think I've figured out a general formula for the balls-falling-down-walls problem.
Quote:
S[b, t] = S[b, t - 1] * (b + 1) + b (t > 0 & b > 1)
S[b, 0] = 0
b = number of balls per trial, t = maximum number of trials required, S = maximum number of stories for which no more than t trials are required
|
Recursive, but I think it does work.
__________________
My 5MV webpages My novel fivers list
Yup
“There must have been a point in early human history when it was actually advantageous to, when confronted with a difficult task, drop it altogether and go do something more fun, because I do that way too often for it to be anything but instinct.” -- Isto Combs