Jump to content

Catalan numbers/Pascal's triangle: Difference between revisions

m
→‎{{header|REXX}}: added a section header comment about arbitrary numbers.
(→‎{{header|REXX}}: added a version with memoization.)
m (→‎{{header|REXX}}: added a section header comment about arbitrary numbers.)
Line 430:
</lang>
 
=={{header|REXX}}==<nowiki><nowiki>Insert non-formatted text here</nowiki></nowiki>
===explicit subscripts===
All of the REXX program examples can handle arbitrary large numbers.
<lang rexx>/*REXX program obtains Catalan numbers from Pascal's triangle. */
parse arg N .; if N=='' then N=15 /*Any args? No, then use default*/
Cookies help us deliver our services. By using our services, you agree to our use of cookies.