Anonymous user
Bell numbers: Difference between revisions
m
→{{header|REXX}}: added a comment in the REXX section header.
m (→{{header|REXX}}: added a comment in the REXX section header.) |
|||
Line 861:
A little optimization was added in calculating the factorial of a number by using memoization.
Also, see this task's ''discussion'' to view how the sizes of Bell numbers increase in relation to its index.
<lang rexx>/*REXX program calculates and displays a range of Bell numbers (index starts at zero).*/
parse arg LO HI . /*obtain optional arguments from the CL*/
|