Re:Math/programming puzzle
by andreyf on Friday July 02, 2010 @02:56AM
(#1480445)
I have a feeling there is no closed-form equasion for a variable number of "levels" of such for loops. There should definitely be a recursive one, however. Would be interesting to define a new notation for such recursive forms.
[ Parent
| on HN ]
Re:Math/programming puzzle
by sublimeloge on Friday July 02, 2010 @11:35AM
(#1481395)
I've always noted it as Sigma_loop, since it's basically the busy-beaver function for a programming language with no recursion and in which the bounds of every loop must stay fixed throughout the loop.